1.
导出数据:cmd命令
exp test/123456 file=E:\DATA\orcl\
test_20110517.dmp
exp
test/123456 file= E:\DATA\orcl\
test_20110517.dmp
exp
test
/123456 file= E:\DATA\orcl\
test
_
20110517.dmp
exp
test
/123456 file= E:\DATA\orcl\
test
_
20110517.dmp
exp
test_LG/123456@A73 file=E:\DATA\orcl\
test_LG_2011-9-30.dmp
exp
test/123456@10.99.1.228 file=E:\DATA\orcl\
test_2011-9-30.dmp
2.
导入数据:cmd命令
imp
test_lg/123456@orcl file=e:\lg_data\
test_20110119.dmp
imp
test_r6/123456@orcl file=f:\
test_r60105.dmp full=y
命令永久删除当前用户下的所有数据表
命令永久删除当前用户下的所有数据表
select 'drop table ' || table_name ||' purge'||';' from user_tables; --delete tables
转载于:https://blog.51cto.com/2197042/1095972