0% found this document useful (0 votes)
99 views4 pages

Create User:: Imp myuser/myuserpassword@ORCL File C:/temp/mydb - DMP Full Yes Log C:/temp/imp - Log

This document contains commands for exporting and importing Oracle databases, including: - Commands to create a user, grant privileges, and commit in Oracle. - The EXP and IMP commands used to export and import databases along with various parameters like file location, logging options, users, and granting privileges. - A process for resetting the Oracle system password using sqlplus and altering the system user.

Uploaded by

api-26853881
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views4 pages

Create User:: Imp myuser/myuserpassword@ORCL File C:/temp/mydb - DMP Full Yes Log C:/temp/imp - Log

This document contains commands for exporting and importing Oracle databases, including: - Commands to create a user, grant privileges, and commit in Oracle. - The EXP and IMP commands used to export and import databases along with various parameters like file location, logging options, users, and granting privileges. - A process for resetting the Oracle system password using sqlplus and altering the system user.

Uploaded by

api-26853881
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

JB’s Collection ORACLE Export/Import

Oracle:

Create User:

CREATE USER USER_NAME IDENTIFIED BY PSWD;

GRANT CONNECT,RESOURCE TO USER_NAME;

COMMIT

Command to Export a Database:

EXP erp99/erp99@orcl file=c:\tat\vijay.dmp log=eventexp.log rows=yes grants=y constraints=y


consistent=y compress=y indexes=y

Command to Import a Database:

imp myuser/myuserpassword@ORCL file=c:\temp\mydb.dmp full=yes


log=c:\temp\imp.log

IMP aug13/aug13@iipm file c:\ expdata.dmp full=yes log=c:\temp\imp.log

IMP we/we@orcl fromuser=erp99 touser=vijay file=c:\tat\vijay.dmp

IMP system/neeljbora@iipm fromuser=iipm_erp touser=aug25 file c:\ expdat.dmp

IMP iipm_erp/iipm_erp@iipm fromuser=iipm_erp touser=iipm_erp file C:\newDMPV1.1.dmp

Imp file = c:\ newDMPV1.1.dmp

IMP system/neeljbora@iipm fromuser=iipm_erp touser=iipm_erp file C:\newDMPV1.1.dmp

Page 1 of 4
JB’s Collection ORACLE Export/Import

How to reset Oracle System’s Password:

1. GOTO Command prompt

2. type : each line and ENTER

3. SET ORACLE_SID = IIPM ( use your sid);

4. sqlplus /nolog;

5. conn as sysdba;

Page 2 of 4
JB’s Collection ORACLE Export/Import

6. alter user system identified by neeljbora;

Page 3 of 4
JB’s Collection ORACLE Export/Import

Page 4 of 4

You might also like