Oracle sql developer - export DDL - only create table sql
I want to run unit tests by generating all tables in HSQLDB, present in my oracle database. For that I want to export all DDL create table statements from oracle tables. I tried export database, but along with create table sql I am getting lot other SQLs like, " PARTITION BY RANGE ("CREATION_DATE") " etc. How do I export all oracle tables(schema) to HSQLDB? is there any better way? You can use the DBMS_METADATA.GET_DDL() function to get the table definition, and modify what is included with the SET_TRANSFORM_PARAM() options, specifically in this case the PARTITIONING parameter. There are lots