imp分区表时要把表的owner从a改成b,语法如何写?

[复制链接]
查看11 | 回复3 | 2007-9-26 18:42:10 | 显示全部楼层 |阅读模式
exp a/passwd_a tables=a.t1:P1,a.t1:P2 file=ptable1.dmp direct=y compress=n indexes=n
exp a/passwd_a tables=a.t1:P3,a.t1:P4 file=ptable2.dmp direct=y compress=n indexes=n
exp a/passwd_a tables=a.t1:P5,a.t1:P6 file=ptable3.dmp direct=y compress=n indexes=n
imp b/passwd_b fromuser=a touser=b file=ptable1.dmp tables=a.t1:P1,a.t1:P2
这样写对吗?
[ 本帖最后由 neroyu 于 2008-4-9 23:16 编辑 ]
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
我也想问这个问题!搬个凳子在线等待!
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
是的 lz试试不就知道了嘛
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
原帖由 neroyu 于 2008-4-9 23:14 发表
exp a/passwd_a tables=a.t1:P1,a.t1:P2 file=ptable1.dmp direct=y compress=n indexes=n
exp a/passwd_a tables=a.t1:P3,a.t1:P4 file=ptable2.dmp direct=y compress=n indexes=n
exp a/passwd_a tables=a.t1:P5,a.t1:P6 file=ptable3.dmp direct=y compress=n indexes=n
imp b/passwd_b fromuser=a touser=b file=ptable1.dmp tables=a.t1:P1,a.t1:P2
这样写对吗?

对的
但b 必须要有imp 必须要有imp_full_database 权限
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行