在作业之前 进行了一下的操作
exp userID/pass file=exp_file.dmp tables=table_name_A,table_name_B,user_constraints,user_cons_columns,user_indexes,user_ind_columns
 log=exp_log.log feedback=1000在进行数据库操作之后,如果操作失败或者其他原因导致数据损坏,想要恢复到作业前的数据库,通过下面的操作,把事前exp出来的文件emp进去,可以实现我想要的效果吗?
sqlplus system/sysPass
drop user userID cascade;create user userID 
identified by userID 
default tablespace userID 
temporary tablespace temp 
quota unlimited on userID;grant connect,resource to userID;
grant create any directory to userID;imp userID/pass file=exp_file.dmp log=imp_log.log feedback=1000----------------------------------
我个人认为,exp时只是指定了某几个特定的表,并没有把整个schema的内容导出来。而试图恢复的时候,首先把原有schema给删除了,之后imp的文件应该不是包含原来整个schema的dmp文件,应该无法实现吧?希望熟悉exp命令的朋友给予帮助 谢谢