Chinaunix首页 | 论坛 | 博客
  • 博客访问: 240515
  • 博文数量: 49
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 530
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-06 08:57
文章分类

全部博文(49)

文章存档

2009年(5)

2008年(44)

我的朋友

分类: WINDOWS

2008-08-13 11:21:48

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) |
给主人留下些什么吧!~~