Oracle中角色的使用

2021-09-26 21:25:30 字數 492 閱讀 2780

建立角色wip並設定登入wip的密碼為oracle

create user wip identified by oracle;
給角色賦予連線和使用資源的許可權

grant connect, resource to wip;
sql> conn mes/oracle@wongoing_test;

connected to oracle database 11g enterprise edition release 11.2.0.4.0

connected as mes@wongoing_test

將角色中的某些表的開放給其他使用者使用

grant select,insert on wip_bind_item_scan to mes;
以上是給角色mes賦予wip_bind_item_scan表的查詢和插入許可權

oracle中的角色

oracle 中的角色 一 何為角色?我在前面的篇幅中說明許可權和使用者。慢慢的在使用中你會發現乙個問題 如果有一組人,他們的所需的許可權是一樣的,當對他們的許可權進行管理的時候會很不方便。因為你要對這組中的每個使用者的許可權都進行管理。有乙個很好的解決辦法就 是 角色。角色是一組許可權的集合,將角...

oracle中的角色

一 何為角色?我在前面的篇幅中說明許可權和使用者。慢慢的在使用中你會發現乙個問題 如果有一組人,他們的所需的許可權是一樣的,當對他們的許可權進行管理的時候會很不方便。因為你要對這組中的每個使用者的許可權都進行管理。有乙個很好的解決辦法就是 角色。角色是一組許可權的集合,將角色賦給乙個使用者,這個使用...

oracle 中的角色

conn sys as sysdba create role testrole grant create session,create table,unlimited tablespace to testrole create user test identified by test grant t...