I've got a schema containing partitioned tables. I can use exp to create a .dmp, but when I import that into Oracle XE, I get errors because Oracle XE doesn't support partitioned tables.
How do I get the .dmp imported into Oracle XE? I think pre-creating the tables might do it, but how do I extract the DDL in some automated way to do this?
Or can I create the exp somehow without partitions?
Here is what I'm doing with expdp/impdp
Create_Non_Partitioned_Tables.sql
to remove all references to indexes and constraints and partitions, leaving just the CREATE
queries.Create_Indexes_Constraints.sql
to remove all references to partitioned tables and the CREATE
queries.Create_Non_Partitioned_Tables.sql
to create non-partitioned tables.impdp
with the option CONTENT=DATA_ONLY
Create_Indexes_Constraints.sql
to create the indexes and constraints.