Thursday, February 13, 2014

How to import oracle dump file .dmp ?



How to use import database in oracle using imp utility ?
1.       Create the target user first
SQL> create user supplier2 identified by trpass123 default tablespace users quot
a unlimited on users;
User created.
2.       Provide necessary privillages to user
SQL> grant connect, create session, imp_full_database to supplier2;
Grant succeeded.
3.       Finally importing dump file
C:\Documents and Settings\Admin>imp supplier2/trpass123@orcl file=D:\SUPPLIER2\SUPPLIER2.dmp  full=Y

Here is what it looks like. Don’t use any ‘ or other special characters for file name

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Admin>sqlplus
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Feb 13 09:42:07 2014
Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create user supplier2 identified by trpass123 default tablespace users quot
a unlimited on users;
User created.
SQL> grant connect, create session, imp_full_database to supplier2;
Grant succeeded.
SQL>

 Now run the below utility in command prompt.

C:\Documents and Settings\Admin>imp supplier2/trpass123@orcl file=D:\SUPPLIER2\S

UPPLIER2.dmp  full=Y



 








Posted By: Azhar Mulla

How to import oracle dump file .dmp ?

Share:

Post a Comment

Facebook
Blogger

3 comments :

  1. C:\Users\Admin>imp BISAMPLE/BISAMPLE@ORCL FILE=C:\Users\Admin\Downloads\BISAMPLE\BISAMPLE.DMP FULL=Y

    Import: Release 11.2.0.1.0 - Production on Tue Feb 20 18:13:07 2018

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.


    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    IMP-00038: Could not convert to environment character set's handle
    IMP-00000: Import terminated unsuccessfully

    C:\Users\Admin>

    ReplyDelete
  2. Where i can find the SUPPLIER2.dmp file?

    ReplyDelete
  3. http://www.mediafire.com/file/jx66m2tjxtp2a46/SUPPLIER2.dmp

    ReplyDelete

Follow Us

About Us

Like Us

© BIDW All rights reserved | Theme Designed by Seo Blogger Templates