17 December, 2015

Table Complete description

=== connected as sysdba === 

SQL> 
set pagesize 9000 
set linesize 80 
set long 100000 
-- spool rcindscr.sql 

SELECT dbms_metadata.get_ddl('TABLE','<TABLE_NAME>','<SCHEMA_NAME>') FROM dual; 

Example: SQL> SELECT dbms_metadata.get_ddl('TABLE','OE_ORDER_LINES_ALL','ONT') FROM dual; 

No comments:

Post a Comment

OEM Agent Installation

./agentDeploy.sh AGENT_BASE_DIR=/u001/oracle/product/agent13c OMS_HOST=oem-dev.xxx.com EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=*****...