Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Urgent: SET ROLE in a stored procedure
> Unfortunately, you can't. Oracle will tell you :
> ORA-06565: cannot execute SET ROLE from within stored procedure
And what about DBMS_SESSION.SET_ROLE procedure ?
PLSQL has syntax limitation and for that reason there are exist several packages, which allows you to use the same functionality by calling their functions. One of them is DBMS_SESSION.
Dmitry. Received on Wed Oct 28 1998 - 04:19:33 CST