Oracle資料庫 系統許可權管理

2021-09-29 23:18:56 字數 911 閱讀 2892

補充:許可權傳遞,丟失管理員密碼怎麼辦。

grant select on mytab to liis;

grant all on mytab to lisi;

revoke select on mytab from lisi;

revoke all on mytab from lisi;

物件許可權控制到列

grant update(name) on mytab to lisi;

grant insert(id) on mytab to lisi

select * from user_col_privs;

注意:查詢和刪除不能控制到列。

//ddl dml dcl

grant alter any table to lisi with admin option;

grant select on a to lisi with grant option;

create role myrole;

grant create session to myrole;

drop role myrole;

注意:有些系統許可權無法直接賦予角色

create table create any table

[alter table] alter any table

[drop table] drop any table

表時屬於某乙個使用者的。而角色不輸入某個使用者。

注意:其中擁有sysoper和sysdba許可權的使用者採用的是:作業系統驗證密碼檔案驗證的。

資料庫系統 資料庫 資料庫管理系統 資料庫系統

繼續寫資料庫系統的文章,第二篇 資料庫 資料庫管理系統 資料庫系統。本文主要談談這三者之間的關係。下方,摘自老師的ppt,非原創。資料庫管理系統 從系統角度看資料庫管理系統 資料庫系統 資料庫指的是長期儲存在計算機內有組織的,大量的,相關聯的,可共享的資料集合。資料應當是有組織的,不應該是雜亂無章的...

資料庫 資料庫系統 資料庫管理系統

資料庫 db table 例子如下 資料庫管理系統 dbms dbms的主要功能 定義功能 提供資料定義語言 ddl 定義db的 結構 兩級映象 定義資料的完整性約束 保密限制等 操縱功能 提供資料操作語言 dml 實現對資料的檢索和更新 詢問 插入 刪除 保護功能 db的恢復 的併發控制 資料完整...

資料庫管理系統與資料庫系統

資料庫管理系統 dbms dbms的工作模式 接受應用程式的資料請求和處理請求 將使用者的資料請求 高階指令 轉換成複雜的機器 低層指令 實現對資料庫的操作 從對資料庫的操作中接受查詢結果 對查詢結果進行處理 格式轉換 將處理結果返回給使用者 dbms的主要功能 資料庫的定義功能 定義db的 結構 ...