oracle imp dmp
imp help=y
導(dǎo)入自己的表:
exp scott/tiger@orcl tables=(student, address) file=D:\scott_stu_add.dmp log=D:\scott_stu_add.log
imp scott/tiger@orcl file=D:\scott_stu_add.dmp log=D:log.log
imp scott/tiger@orcl file=D:\scott_stu_add.dmp tables=student
導(dǎo)入別人的表:
conn sys as sysdba;
drop user test cascade;
create user test identified by test;
下面是對的:
imp test/test@orcl file=D:\scott_stu_add.dmp fromuser=scott touser=test
imp sys/change_on_install@orcl file=D:\scott_stu_add.dmp fromuser=scott touser=test
上面已經(jīng)導(dǎo)入了,但又重復(fù)執(zhí)行,會報錯
imp test/test@orcl file=D:\scott_stu_add.dmp fromuser=scott touser=test
加上ignore 后,create 語句錯誤被忽略了,接著會執(zhí)行后面的語句
imp test/test@orcl file=D:\scott_stu_add.dmp fromuser=scott touser=test ignore=y
下面這個是不對的:
imp scott/tiger@orcl file=D:\scott_stu_add.dmp fromuser=scott touser=test
轉(zhuǎn)載于:https://www.cnblogs.com/Mike_Chang/p/9278194.html
總結(jié)
以上是生活随笔為你收集整理的oracle imp dmp的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 1996年的五粮液现在值多少钱
- 下一篇: 【Python3_基础系列_006】Py