Thursday, September 6, 2012

Export and Import Schemas

TO EXPORT

---------------
1     1)      In Command prompt:
                    C:\oraclexe\app>expdp SYSTEM/manager@XE  SCHEMAS=nani   DUMPFILE="xyz.dmp"

->It will store the dump file in ‘C:\oraclexe\app\oracle\admin\XE\dpdump’ location.

2      2)      In SQL Prompt
CREATE OR REPLACE DIRECTORY dmpdir AS 'c:\oraclexe\app\tmp';
GRANT READ,WRITE ON DIRECTORY dmpdir TO nani

C:\oraclexe\app>expdp SYSTEM/manager@XE SCHEMAS=nani DIRECTORY=dmpdir DUMPFILE="xyz.dmp"

->It will store the dump file in ‘C:\oraclexe\app\tmp’ location.


TO IMPORT

 --------------
Place the dump file in ‘C:\oraclexe\app\oracle\admin\XE\dpdump’ then
1    1)      In Command Prompt:
            C:\oraclexe\app>impdp system/manager@XE DUMPFILE=”XYZ.dmp”

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. I got what i am seraching from last few days in your Blog. I hope you will share more info about it. Please keep sharing.
    Laptop Service center in Ameerpet
    Dell Service center in Ameerpet
    HP Service center in Ameerpet
    Lenovo Service center in Ameerpet

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Here is the site(bcomexamresult.in) where you get all Bcom Exam Results. This site helps to clear your all query.
    BA 3rd year Result
    Davv BCOM 3rd Year Result 2020

    ReplyDelete