Quantcast
Channel: Alextv.net feed from krisrice.blogspot.com
Viewing all articles
Browse latest Browse all 25

Getting DDL for objects with sdsql

$
0
0
Getting ddl out for any object is quite simple.  You can just call dbms_metadata with something nice and easy like select dbms_metata.get_ddl('TABLE','EMP') from dual; SQL> select dbms_metadata.get_ddl('TABLE','EMP') from dual; DBMS_METADATA.GET_DDL('TABLE','EMP') -------------------------------------------------------------------------------- CREATE TABLE "KLRICE"."EMP" ( "EMPNO" NUMBER

Viewing all articles
Browse latest Browse all 25

Trending Articles