How Can I Copy Data in Another System

I am using oracle 9i.
Now I want to copy its whole data like tables, cursors, function, procedure and trigger to an another system which has no link with my first system.

Oracle export (EXP) and import (IMP) utilities are used to perform logical database backup and recovery. export / import are logical backup system in oracle.

Just type exp(in case of export) or imp (in case of import) at prompt, you will get online help from oracle and supply parameters, it will serve your purpose.

Otherwise, the command is

login as sys user and give command...

exp file=<filename.dmp> full=y statistics = none   (will export all schema backups)

for example,

exp scott/tiger file=emp.dmp log=emp.log tables=emp rows=yes indexes=no
(table level export)
         exp scott/tiger file=emp.dmp tables=(emp,dept) (exporting 2 tables)

Similarly import command will be like....

         imp scott/tiger file=emp.dmp full=yes
         imp scott/tiger file=emp.dmp fromuser=scott touser=scott
tables=dept

Saumen Ganguli

Have a Oracle Question
Do you have an Oracle Question?

Oracle Books
Oracle Certification, Database Administration, SQL, Application, Programming Reference Books

Oracle Application
Oracle Application Hints and Tips

Oracle Home
Oracle Database, SQL, Application, Programming Tips

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site www.erpgreat.com is not affiliated with or endorsed by any company listed at this site.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.