1,create a role;
SQL> create role testrole3;
角色已创建。
2,grant privileges to a role;
SQL> grant create session,create table
2 to testrole3;
授权成功。
授权访问表test3的权限;
SQL> grant select on test3
2 to testrole3;
授权成功。
3,grant a role to a user;
SQL> grant testrole3 to wktest3;
授权成功。
阅读(1386) | 评论(0) | 转发(0) |