By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
- Export the table's definition with the constriants and indexes:
exp userid=system file=my_dump.dmp tables=EMP rows=n constraints=y indexes=y
- Use the import utility to create a file that can be used to create the table and indexes:
imp userid=system file=my_dump.dmp full=y indexfile=create.sql
- Modify the create.sql script created in step two with any text editor. You can change the tablespace or other storage information at this time.
- Run the modified script in the destination database.
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs.continue reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command.continue reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.