操作方法
1.通过tode创建或者克隆新的数据库用户
2.导出目标表准备。空表无法导出表结构,这里可以通过执行 select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 //生成修改segment值sql
导出目标用户test所有数据库相关信息 exp test/test@orcl file=d:\427.dat or 427.dmp
导入目标用户new所有数据库相关信息 Imp new/new@orcl file=d:\427.dat full =y ignore=y