exp userid=system/manager owner=username1 file=expfile.dmp
imp userid=system/manager fromuser=username1 touser=username2 ignore=y file=expfile.dmp 测试通过
imp userid=system/manager fromuser=username1 touser=username2 ignore=y file=expfile.dmp 测试通过
目的数据库要存在原数据库用户所在的表空间,如果是在同一个数据库就可以使用
sql>create table a as select * from username2.table_name where ...;
只能从低版本到高版本到入。
从高到低的话最好用imp的show选项做一个script。
不过数据是没戏了(除非自己写脚本spoo出来)