Search
 
SCRIPT & CODE EXAMPLE
 

SQL

ddl materialized view

-- Views (use USER_VIEWS or DBA_VIEWS if needed):
SELECT TEXT FROM ALL_VIEWS WHERE upper(VIEW_NAME) LIKE upper('%VIEW_NAME%');
-- Or:
SELECT dbms_metadata.get_ddl('VIEW', 'VIEW_NAME', 'OWNER_NAME') FROM DUAL;

-- Materialized views (use USER_VIEWS or DBA_VIEWS if needed):
SELECT QUERY FROM ALL_MVIEWS WHERE upper(MVIEW_NAME) LIKE upper('%VIEW_NAME%');
-- Or:
SELECT dbms_metadata.get_ddl('MATERIALIZED_VIEW', 'VIEW_NAME', 'OWNER_NAME') 
FROM DUAL;
Comment

PREVIOUS NEXT
Code Example
Sql :: psql: error: FATAL: role "postgres" does not exist 
Sql :: how to delete duplicate rows in oracle 
Sql :: distincct sql 
Sql :: oracle apex who is connected 
Sql :: sql week commencing date 
Sql :: group by 15 minute interval sql server 
Sql :: sql sort column by date 
Sql :: mysql trigger after update 
Sql :: how to add column to table sql 
Sql :: mysqldump password 
Sql :: get current date data in mysql 
Sql :: mysql get age from date 
Sql :: oracle list service names 
Sql :: row number mysql 
Sql :: create row number in sql 
Sql :: how to find date from date table in sql 
Sql :: create sequence if not exists postgres 
Sql :: mysql set primary key 
Sql :: postgresql fill fake data 
Sql :: find logged in users mysql 
Sql :: postgres in operator with comma separated values 
Sql :: insert multiple rows in sql workbench 
Sql :: oracle schema size 
Sql :: real world example of nosql 
Sql :: Incorrect format parameter 
Sql :: delete role postgres 
Sql :: convert date to datetime sql 
Sql :: mysql update table from another table 
Sql :: mysql list users 
Sql :: where date in datetime mysql 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =