select to_char(dbms_metadata.get_ddl('TABLE', 'SACP_FLT_DEP_HIST', 'UCI')) from dual select dbms_metadata.get_ddl('TABLE', TABLE_NAME, OWNER) from all_tables where owner = 'UIC'