日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

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

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
詳解oracle授權(quán)語句

oracle授權(quán)語句用于對oracle數(shù)據(jù)庫的用戶授予權(quán)限,下面就為您詳細介紹oracle授權(quán)語句的用法,希望對您能夠有所幫助。

成都創(chuàng)新互聯(lián)公司專業(yè)提供服務(wù)器托管服務(wù),為用戶提供五星數(shù)據(jù)中心、電信、雙線接入解決方案,用戶可自行在線購買服務(wù)器托管服務(wù),并享受7*24小時金牌售后服務(wù)。

oracle grant授權(quán)語句:   

--select * from dba_users; 查詢數(shù)據(jù)庫中的所有用戶

--alter user TEST_SELECT account lock; 鎖住用戶

--alter user TEST_SELECT account unlock; 給用戶解鎖

--create user xujin identified by xujin; 建立用戶

--grant create tablespace to xujin; 授權(quán)

--grant select on tabel1 to xujin; 授權(quán)查詢

--grant update on table1 to xujin;

--grant execute on procedure1 to xujin 授權(quán)存儲過程

--grant update on table1 to xujin with grant option; 授權(quán)更新權(quán)限轉(zhuǎn)移給xujin用戶,許進用戶可以繼續(xù)授權(quán);

--收回權(quán)限

--revoke select on table1 from xujin1; 收回查詢select表的權(quán)限;

--revoke all on table1 from xujin;

/*grant connect to xujin;

revoke connect from xujin

grant select on xezf.cfg_alarm to xujin;

revoke select on xezf.cfg_alarm from xujin;*/

--select table_name,privilege from dba_tab_privs where grantee='xujin' 查詢一個用戶擁有的對象權(quán)限

--select * from dba_sys_privs where grantee='xujin' 查詢一個用戶擁有的系統(tǒng)權(quán)限

--select * from session_privs --當錢會話有效的系統(tǒng)權(quán)限

--角色

--create role xujin1;--建立xujin1角色

--grant insert on xezf.cfg_alarm to xujin1; 將插入表的信息

--revoke insert on xezf.cfg_alarm from xujin1; 收回xujin1角色的權(quán)限

--grant xujin1 to xujin ; 將角色的權(quán)限授權(quán)給xujin;

-- create role xujin2;

--grant xujin1 to xujin2; 將角色xujin1授權(quán)給xujin2;

--alter user xujin default xujin1,xujin2; 修改用戶默認角色

-- DROP ROLE xujin1;刪除角色1;

--select * from role_sys_privs where role=xujin1; Bbs.

--查看許進1角色下有什么系統(tǒng)權(quán)限;

--select granted_role,admin_option from role_role_privs where role='xujin2';

--查看xujin1角色下面有什么角色權(quán)限

--select * from role_sys_privs where role='xujin2';

--select table_name,privilege from role_tab_privs where role='xujin1';

--select * from dba_role_privs where grantee='xujin' --查看用戶下面有多少個角色;

【編輯推薦】

Oracle循環(huán)語句的寫法

Oracle修改用戶語法介紹

Oracle身份驗證的三種方法

Oracle默認用戶的密碼問題

帶您了解Oracle顯式游標


名稱欄目:詳解oracle授權(quán)語句
本文網(wǎng)址:http://m.5511xx.com/article/dhgchdj.html