jayjaybigs
IS-IT--Management
Hello All,
I was givien a list schemas to copy from one database to the other. I intend to use export - import method like the following:
exp system@ODSUGPL OWNER=<user> CONSISTENT=Y COMPRESS=Y STATISTICS=NONE
FILE=file.dmp
LOG=name.log
imp system@ODSUGPL FROMUSER=<user> IGNORE=Y TOUSER=<new_user> STATISTICS=NONEGRANTS=N
FILE=file.dmp
LOG=name.log
However, I was wondering if any one has a script that I can use for this mutiple export/import as there are many mutiple schemas. Using a parameter file containing the schemas name will be ideal.
Please give a start that I can work with o r point me into a proper direction.
thanks for your help.
Tayo.
I was givien a list schemas to copy from one database to the other. I intend to use export - import method like the following:
exp system@ODSUGPL OWNER=<user> CONSISTENT=Y COMPRESS=Y STATISTICS=NONE
FILE=file.dmp
LOG=name.log
imp system@ODSUGPL FROMUSER=<user> IGNORE=Y TOUSER=<new_user> STATISTICS=NONEGRANTS=N
FILE=file.dmp
LOG=name.log
However, I was wondering if any one has a script that I can use for this mutiple export/import as there are many mutiple schemas. Using a parameter file containing the schemas name will be ideal.
Please give a start that I can work with o r point me into a proper direction.
thanks for your help.
Tayo.