Search This Blog

Monday, October 25, 2021

Oracle User Create .dmp Export -Import

 New User Create: 

SQL> conn / as sysdba

Connected.

SQL> drop user NewUserName cascade ;

User dropped.

SQL> create user NewUserName identified by NewUserPassword ;

User created.

SQL> grant dba to NewUserName ;

Grant succeeded.

.dmp Export: 

$exp OldUserName/OldUserPassword owner=OldUserName

file=C:\locationPath\Name.dmp ;

Import: 

$imp NewUserName/NewUserPassword  file=D:\locationPath\Name.dmp fromuser=OldUserName 

touser=NewUserName ;



No comments:

Post a Comment

Check Difference Between Two Database Objects

Step-1. Create Two DBLINK to connect with Two Database then Step-2. define logindb= DBLINKONE define remotedb= DBLINKTWO define schema_name=...