日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Oracle修改表owner要用到的代碼有哪些

我們大家都知道Oracle的關(guān)系數(shù)據(jù)庫是全世界***支持SQL語言的相關(guān)數(shù)據(jù)庫。其有很多的用途,那么以下的文章主要是介紹Oracle修改表owner的實際操作,本文主要是以代碼的方式來引出其實際的相關(guān)的實際操作。

 
 
 
 
  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;

這樣的操作似乎只能在同一個數(shù)據(jù)庫中操作。

 
 
 
 
  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; 

以上的相關(guān)內(nèi)容就是對Oracle修改表owner的介紹,望你能有所收獲。


文章題目:Oracle修改表owner要用到的代碼有哪些
URL分享:http://www.dlmjj.cn/article/dpehgje.html