時(shí)間:2015/6/28來源:IT貓撲網(wǎng)作者:網(wǎng)管聯(lián)盟我要評(píng)論(0)
create user test identified by test
grant resource,connect to test;
create table t1 (id number,name varchar2(20));
insert into t1 values (1,'xx');
commit;
grant all on t1 to test1;
這樣的操作似乎只能在同一個(gè)數(shù)據(jù)庫(kù)中操作。
create user test1 identified by test1
grant resource,connect to test1;
conn test1/test1
create table temp(id number,name varchar2(20)) partition by range(id)
(partition part0 values less than (-1),
partition part1 values less than (maxvalue));
create table t1(id number,name varchar2(20));
alter table temp exchange partition part1 with table test.t1
including indexes without validation;
alter table temp exchange partition part1 with table t1 including indexes without validation;
關(guān)鍵詞標(biāo)簽:oracle修改表owner
相關(guān)閱讀
熱門文章 Oracle中使用alter table來增加,刪除,修改列oracle中使用SQL語句修改字段類型-oracle修使用低權(quán)限Oracle數(shù)據(jù)庫(kù)賬戶得到管理員權(quán)限Oracle對(duì)user的訪問控制
人氣排行 ORACLE SQL 判斷字符串是否為數(shù)字的語句Oracle中使用alter table來增加,刪除,修改列的語法ORACLE和SQL語法區(qū)別歸納(1)oracle grant 授權(quán)語句如何加速Oracle大批量數(shù)據(jù)處理Oracle刪除表的幾種方法ORACLE修改IP地址后如何能夠使用Oracle 10g創(chuàng)建表空間和用戶并指定權(quán)限