oracle資料庫控制已建表在不同使用者下擁有不同許可權

時間 2021-10-14 22:25:28

1樓:

分別給每個使用者分配不同的許可權。例如要求a表在x使用者下能增刪改,在y使用者下只能查詢,

grant update on a to x;

grant insert on a to x;

grant delete on a to x;

grant select on a to y;

或者你建立兩個角色,然後去分配角色

2樓:匿名使用者

grant update on a to x;

grant delete on a to x;

grant select on a to x;

grant insert on a to x;

grant select on a to y;

grant select on b to x;

grant update on b to y;

grant delete on b to y;

grant insert on b to y;

3樓:

直接受權就行了啊。

grant update on a to x;

grant insert on a to x;

grant delete on a to x;

grant select on a to y;

oracle資料庫,oracle資料庫價格

oracle是一種適用於大型 中型和微型計算機的關聯式資料庫管理系統,它使用sql structured guery language 作為它的資料庫語言。sql主要包括資料定義 資料操縱 包括查詢 和資料控制等三方面功能。sql是一種非過程化程度很高的語言,使用者只需說明 幹什麼 而無需具體說明 怎麼...

Oracle資料庫建立表空間問題

二者的主要區別就是前乙個的 extent 區 是自動管理的 extent management local 也就是說這個表空間oracle會根據缺省區的引數對extent進行管理。後面乙個語句所形成的表空間的 extent 是通過defaultstorage initial 20knext 10mp...

oracle資料庫建立表空間出現錯誤ora 01917 ora

從你的sqlplus中看你是在建立user,再grant許可權。而不是建立表空間。你連概念都分不清還怎麼做。另外,建立物件的時候如果使用雙引號,是區分大小寫的。oracle預設是不區分大小寫 這是報錯使用者不存在,沒許可權。必須用dba許可權操作的。建立表空間 create tablespace t...