删除所有表:
select 'drop table '||table_name||';' from cat where table_type='TABLE';
导出用户所有表:
exp user/password@实例 owner=用户 file=./xxx.dmp
导入:
imp user/password file=./xxx.dmp full=y ignore=y commit=y &
删除所有表:
select 'drop table '||table_name||';' from cat where table_type='TABLE';
导出用户所有表:
exp user/password@实例 owner=用户 file=./xxx.dmp
导入:
imp user/password file=./xxx.dmp full=y ignore=y commit=y &