| Allen's profileLi's spacePhotosBlog | Help |
|
June 24 将oracle中的一个表空间表STP_A数据 导入到另一个表空间STP_B的方法1、通过exp命令(用户:stp_a_user),将STP_A导出数据,导出数据文件为STP_A.dmp 2、通过imp命令(用户:stp_a_user),将STP_A.dmp导入数据,指定参数INDEXFILE生成脚本文件STP_A.SQL(表创建SQL语句、INDEX等创建SQL语句); 3、通过ULtraEdit将STP_A.SQL文件进行整理: 4、通过管理员,创建STP_B表空间及指定的用户stp_b_user; 5、执行STP_B.SQL文件中的SQL语句,创建表等(用户:stp_b_user); 6、通过imp命令(用户:stp_b_user),将STP_A.dmp的数据进行导入,导入时指定Ingore为y则可导入数据。 TrackbacksThe trackback URL for this entry is: http://lislog.spaces.live.com/blog/cns!29F76575168CBBB9!253.trak Weblogs that reference this entry
|
|
|