您的位置:首页 > 其它

Windows Server 2003基础与技术指南(2)---Windows Server 2003的安装

2010-06-05 12:50 435 查看
create or replace procedure user_priv
(uname in varchar2)
as
cursor v_cur is
select privilege from dba_sys_privs where grantee=uname
union
select privilege from dba_sys_privs where grantee in
(select granted_role from dba_role_privs where grantee=uname );
begin
for v_t in v_cur loop
begin
dbms_output.put_line(v_t.privilege);
end;
end loop;
end;
/
本文出自 “ocpyang” 博客,请务必保留此出处http://ocpyang.blog.51cto.com/3401739/1194558
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: