Hi....
I want to know about import and export in oracle 10g ? How to implement this in oracle ? Please explain with an example ?
thanks.....
Import and Export in Oracle
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Chintan RathodRank #516 · 4.8K reputationPosted Dec 26, 2011, 7:30 AM EST
To export
==================
SQL> CREATE DIRECTORY dmpdir AS '/opt/oracle';
Directory created.
SQL> GRANT read, write ON DIRECTORY dmpdir TO scott;
Grant succeeded
Oracle introduced a default directory from 10g R2, called DATA_PUMP_DIR, that can be used:
SQL> SELECT directory_path FROM dba_directories WHERE directory_name = 'DATA_PUMP_DIR';
DIRECTORY_PATH -------------------------------------------------------------------------------- /app/oracle/product/10.2.0/rdbms/log/
$ expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
===================
To import
===================
$ impdp system/oracle DIRECTORY=dmpdir DUMPFILE=scott.dmp
Thank You.
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 26, 2011, 7:42 AM EST
Please refer the below link
http://docs.oracle.com/cd/B19306_01/server.102/b14215/exp_imp.htm
Thanks
Vineet Kumar SainiRank #257 · 9.8K reputationPosted Dec 28, 2011, 12:55 PM EST
Chintan RathodRank #516 · 4.8K reputationPosted Dec 28, 2011, 10:41 PM EST