Oracle查询建表语句SQL:
SELECT DBMS_METADATA.GET_DDL('TABLE','CBZS_DMCODE_DEP_TYPE','MOBILE_CBZS') FROM DUAL;
--例
SELECT DBMS_METADATA.GET_DDL('TABLE','TABLE_NAME') FROM DUAL;
Oracle查询建表语句SQL:
SELECT DBMS_METADATA.GET_DDL('TABLE','CBZS_DMCODE_DEP_TYPE','MOBILE_CBZS') FROM DUAL;
--例
SELECT DBMS_METADATA.GET_DDL('TABLE','TABLE_NAME') FROM DUAL;