发布网友 发布时间:2022-04-26 02:25
共2个回答
热心网友 时间:2022-04-14 04:47
方法一:用imp的exclude参数排除表,比如要排除的表为aaa表和bbb表,则imp xxx/xx@xxxx exclude=table:"in ('aaa','bbb')" file=xxxxxxx热心网友 时间:2022-04-14 06:05
执行以下查询语句: select 'drop table '||table_name||';' from cat where table_type='TABLE' 将会输出一批删除表的sql语句,执行一下这些SQL语句就可以了。 如下: declarebeginfor i in (select table_name from dba_tables where owner=:u