Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create separate sql file from export dump

PDPMay 9 2014 — edited May 12 2014

Hi all,

oracle 11g r2, rhel 5

we have an option to create a sql file from expdump. I used the below command

impdp system/***** directory=data_pump_dir dumpfile=scott.dmp logfile=scott.log sqlfile=scott.sql

The above command took all functions, view, procedures, triggers, tables , create ddl in a single file.

do we have an option to take all ddl script in a separate file for scott schema?

example: all grants for scrott schema in a separate file,

all create table ddl for scott schema in a separate file,

all view dll for scott schema in separate file,

all procedure for scott schema in separate file,

all function for scott schema in a separate file etc......

is this possible or any other available options apart from using toad and sql developer?

Regards,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2014
Added on May 9 2014
2 comments
3,687 views