oracle 数据备份导出
------------------------方法1------------------------------使用系統用戶導入導出數據
exp userid=system/manager owner=username1 file=expfile.dmp
imp userid=system/manager fromuser=username1 touser=username2 ignore=y file=expfile.dmp
or
根據當前用戶來導入導出數據
exp test/test@test full=y rows=y file=expfile.dmp
imp test/test@testignore=y file=expfile.dmp
------------------------方法2-------------------------------
使用plsql,连接数据库,然后tool里面选取备份,可以对单个表进行备份导出
如果要对特殊的查询结果导出,那就需要偶的方法3了:
使用plsql连接数据库,开一个sql窗口,输入sql查询语句,然后选择export query result,建议导出成sql文件。
页:
[1]