Oracle用户权限

时间:2014-01-22 20:57:50   收藏:0   阅读:470
PL/SQL权限

1、查询用户的权限
Select * From sys.dba_sys_privs a Where A.grantee= ‘username‘;

2、在当前用户下查询当前用户的权限
SELECT * FROM session_privs;

3、给用户赋权限
Grant select on tablename to username;

4、删除用户的权限
Revoke
create table ,select any table ,update any table ,insert any table ,delete
any table ,sysdab
From user_name;

原文:http://blog.csdn.net/gh320/article/details/18656145

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!