首页 电脑 电脑学堂 查看内容

oracle 数据备份导出的2个方法

2009-10-28 10:06 953 0

摘要: ------------------------方法1------------------------------  使用系統用戶導入導出數據  exp userid=syst...
关键词: nbsp test expfile username 方法 file 备份 dmp 然后 manager

------------------------方法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@test  ignore=y file=expfile.dmp  ------------------------方法2-------------------------------  使用plsql,连接数据库,然后tool里面选取备份,可以对单个表进行备份导出  如果要对特殊的查询结果导出,那就需要偶的方法3了:  使用plsql连接数据库,开一个sql窗口,输入sql查询语句,然后选择export query result,建议导出成sql文件。
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部