Currently using SQL Developer with no complaint, now there is a question about how to export schema script with data/index tablespace name on it.
There is an option when right click table => Export => under “Export DLL” there is a check box for “Schema” but not for tablespace.
So how can we achieve massive script exporting with tablespace name all along?
Or, is there any other tool/command to handle the job?
Thank you.
You should use
Storageoption when exporting. To get DDL for a single object you can also useDBMS_METADATA.GET_DDLfunction but if you need to export whole schema with complex dependencies it is better to use specialized tools like SQL Developer / Toad / PL\SQL Developer, etc.