conn /as sysdba
desc dbms_pipe
if exists then
grant execute on dbms_pipe to username;
else
start ?/rdbms/admin/dbmsalrt.sql;
grant execute on dbms_pipe to username;
end if;
desc dbms_pipe
if exists then
grant execute on dbms_pipe to username;
else
start ?/rdbms/admin/dbmsalrt.sql;
grant execute on dbms_pipe to username;
end if;
本文介绍了一段PL/SQL代码,用于检查是否存在DBMS_PIPE,并根据检查结果向指定用户授予执行权限。如果不存在,则通过执行特定脚本来创建并授予执行权限。
1963

被折叠的 条评论
为什么被折叠?



