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 的相关内容的介绍,望你能有所收获  。