C:\>imp <username>/<password> file=<dumpname.dmp> log=<logfilename.log> full=y
C:\>imp kk/kk file=kk.dmp log=kkimp.log full=y
• C:\>imp <username>/<password> file=<dumpname.dmp> log=<logfilename.log> fromuser=<fromusername> touser=<tousername>
• Before import we need to check the tablespace free space.
SYSTEM -200M
INDX -100M
DEFAULT TABLESPACE (ORION) -
C:\>imp kk/kk file=kk.dmp log=kkimp.log fromuser=surya touser=kk
Imp……
Imp…….
Import completed successfully with warnings.
After Import Connect to the Respective DB user
C:\>sqlplus
Enter username: kk/kk
SQL>@c:\compile – it will compile all the Invalid objects run the compile script atlease 4 times.
Comments
Post a Comment