龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > 数据库类 > Oracle 技术 >

Oracle修改表owner的实际操作

时间:2011-04-12 23:18来源:未知 作者:admin 点击:
分享到:
如果你在Oracle修改表owner 的实际操作中,你对 Oracle 修改表owner的实际操作中 有不解之处时,你可以通过以下的文章对其的实际应用与功能有所了解,以下是文章的具体介绍,望你浏览

如果你在Oracle修改表owner 的实际操作中,你对Oracle修改表owner的实际操作中 有不解之处时,你可以通过以下的文章对其的实际应用与功能有所了解,以下是文章的具体介绍,望你浏览完以下的内容会有所收获。

Oracle修改表owner

  1. create user test identified by test  
  2. grant resource,connect to test;  
  3. create table t1 (id number,name varchar2(20));  
  4. insert into t1 values (1,'xx');  
  5. commit;  
  6. grant all on t1 to test1;  

在Oracle修改表owner 中这样的操作似乎只能在同一个数据库中操作。

  1. create user test1 identified by test1  
  2. grant resource,connect to test1;  
  3. conn test1/test1  
  4. create table temp(id number,name varchar2(20))
     partition by range(id)  
  5. (partition part0 values less than (-1),  
  6. partition part1 values less than (maxvalue));  
  7. create table t1(id number,name varchar2(20));  
  8. alter table temp exchange partition part1 with 
    table test.t1  
  9. including indexes without validation;  
  10. alter table temp exchange partition part1 with 
    table t1 including indexes without validation;  

以上的相关内容就是对Oracle修改表owner 的相关内容的介绍,望你能有所收获。

精彩图集

赞助商链接