Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using this command to export the empty tables.
SQL
alter system set DEFERRED_SEGMENT_CREATION=FALSE scope=both;

This will work only if tables are created after this statement execution.
NOTE: We restarted the system after executing the alter statement.

If tables are created and they are empty, before execution of this statement, they are not exported.

Next we tried these below commands also
SQL
expdp USER/USER@HOSPITAL schemas=HOSPITAL dumpfile=NEWSPARSH.dmp logfile=SH1.log

After executing this command, it is hanging in between.
SQL
expdp HOSPITAL/HOSPITAL@HOSPITAL schemas=HOSPITAL dumpfile=NEWRS.dmp logfile=SPARSH1.log
Posted
Updated 11-Nov-11 22:55pm
v2

1 solution

A quick google found This[^] solution
 
Share this answer
 
Comments
Mahanthesh 23-Nov-11 5:53am    
i accept this solution.
is their any other way to get(export) the empty tables which are created
before executing below query,
alter system set DEFERRED_SEGMENT_CREATION=FALSE scope=both;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900