1、利用语句生成你需要导出的数据库对象的字符串
select to_char(wmsys.wm_concat(object_name)) from user_objects where object_name<>'你不想导出的表名';
2、导入是添加参数 tables=(你刚才得到的字符串)
select to_char(wmsys.wm_concat(object_name)) from user_objects where object_name<>'你不想导出的表名';
2、导入是添加参数 tables=(你刚才得到的字符串)
1、Exp方式 ,则 使用导出表的列表 tables
如 exp user/password@服务名 tables=(A,B,C) file=c:\exp.dmp
2、Expdp方式,则使用 排除表的列表 exclude
如 expdp sec/sec directory=dump_dir dumpfile=sec.dmp logfile=sec.log EXCLUDE=TABLE:\"IN\(\'T1\',\'T2\'\)\"
具体查询 帮助文档
看来我有些落伍了,好多新特性都不清楚了,也需要去补课了,呵呵
expdp sec/sec directory=dump_dir dumpfile=sec.dmp logfile=sec.log EXCLUDE=TABLE:\"IN\(\'INFO\'\)\"