immediate;
alter system kill session '138,302' immediate;
alter system kill session '139,366' immediate;
再復制這些語句,粘貼到sqlplus中執(zhí)行,來殺掉Test2的session。
-----create user Test2 identified by Test2passwd default tablespace cmis temporary tablespace temp profile default;(創(chuàng)建用戶)
-----grant connect,resource to Test2; (授權)
◆8.把文件從A機器上拷貝到B機器上。假如拷貝過來放到tmp目錄下/tmp/Test1.dmp
◆9.最后在A機器上按用戶導入數(shù)據(jù)
#一定注意執(zhí)行imp時要退出sqlplus,在linux的shell下執(zhí)行imp
[Oracle@test2 ~]$ imp Test2/Test2passwd fromuser =Test1 touser =test2 file=D:\xsldb.DMP log =app/oracle/file/log/DEV_PMODOC.log;
本文出自:億恩科技【1tcdy.com】
服務器租用/服務器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質保障!--億恩科技[ENKJ.COM]
|