Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle view source

-- 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 :: how to get ddl for materialized view 
Sql :: remove password from root mysql 
Sql :: mysql show data from table 
Sql :: operadores en postgresql 
Sql :: create column mysql terminal 
Sql :: c# get sql min date 
Sql :: mysql show tables in database 
Sql :: sql random decimal 
Sql :: oracle user quota on tablespace 
Sql :: sql column values comma separated 
Sql :: mysql order by desc limit 
Sql :: group concat with separator 
Sql :: how to delete table in mysql 
Sql :: sql query length of string the longest 
Sql :: sql insert query 
Sql :: transalations from sql to Linq count and group by 
Sql :: varchar plsql 
Sql :: strict in postgres SQL 
Sql :: install postgresql on raspberry pi 
Sql :: how to rename column in sql 
Sql :: oracle asynchronous query 
Sql :: SELECT NUMBER OF rows for all tables oracle 
Sql :: org.h2.jdbc.JdbcSQLSyntaxErrorException 
Sql :: sql random number between 1000 and 9999 
Sql :: mysql error incompatible with sql_mode=only_full_group_by 
Sql :: how to pass password mysql command line 
Sql :: start postgres server 
Sql :: clone table structure mysql 
Sql :: contains word in sql 
Sql :: insert value in identity 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =