dd

오민석·2022년 7월 25일
0

[get_ddl]
select DBMS_METADATA.GET_DDL(object_type, object_name) from user_objects where object_type = 'TABLE' and object_name = 'MY_TABLE'

select dbms_metadata.get_ddl('TABLE','SALES', 'SCOTT') from dual;
select dbms_metadata.get_ddl('TABLESPACE','TBS_NAME') from dual;
SELECT DBMS_METADATA.GET_DDL('TABLE',u.table_name)
FROM USER_TABLES u;


[oracle, java data type mapping]
https://docs.oracle.com/cd/B19306_01/java.102/b14188/datamap.htm

0개의 댓글