我用的命令:
exp system/manager full=y rows=y file=d:\oracle_backup\oracle.dmp
imp system/manager full=y rows=y file=d:\oracle_backup\oracle.dmp
exp system/manager full=y rows=y file=d:\oracle_backup\oracle.dmp
imp system/manager full=y rows=y file=d:\oracle_backup\oracle.dmp
Cause: Import failed to create an object because it already exists.
Action: Specify IGNORE=Y to ignore such errors and import rows even when tables are not created because they already exist.
在新装的oracle中新建了一个opq实体,并没有创建原来的两个实体。
我想用 imp 直接恢复原来的两个实体及其数据。
我不知道系统提示的“已存在”是指的什么。
imp system/manager ignore=y full=y rows=y file=d:\oracle_backup\oracle.dmp
你最好重新创建一个数据库,然后再导入。
你也可以试一下:destroy=y
我现在的数据库就是新建的,要怎样才能导入数据呢?