Home » RDBMS Server » Server Administration » how to copy a schema
how to copy a schema [message #180457] Mon, 03 July 2006 11:40 Go to next message
sreehari
Messages: 101
Registered: May 2006
Senior Member
Hi all

how to copy a schema using IMP/EXP between differant servers..

Thanks
Re: how to copy a schema [message #180458 is a reply to message #180457] Mon, 03 July 2006 11:41 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
http://orafaq.com/faq/import_export
Re: how to copy a schema [message #180460 is a reply to message #180458] Mon, 03 July 2006 11:46 Go to previous messageGo to next message
sreehari
Messages: 101
Registered: May 2006
Senior Member
when i give the following command,, it is exporting all the schemas in the database..where i want to copy only scott schema..


EXP SCOTT/TIGER@HOSTSTRING FILE=FULL.DMP LOG=FULL.LOG FULL=Y

help on this is greatly apprecialted...

Thanks

Re: how to copy a schema [message #180463 is a reply to message #180460] Mon, 03 July 2006 11:56 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
ofcourse it does. FULL=Y does that.
Please search the forum/documentation.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/toc.htm

You need to user owner=Scott


exp scott/tiger@host file=mydmp.dmp owner=scott


while importing

import scott/tiger@host file=mydmp.dmp fromuser=scott touser=anotherscott
Previous Topic: Not able to login with SYS user
Next Topic: Questions..?
Goto Forum:
  


Current Time: Fri Sep 20 10:42:17 CDT 2024