Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: alter session set sql_trace inside a procedure
On Fri, 05 Mar 2004 19:26:30 GMT, "VC" <boston103_at_hotmail.com> wrote:
>You have to grant the alter session privilege directly, granting via a role
>is not sufficient:
>
>grant alter session to <user>
>
>... or use AUTHID CURRENT_USER which is not advisable.
>
>
>VC
>
>>
Could you explain? *Direct* grants are a maintenance nightmare, as they are granted by SYS and not exported.
-- Sybrand Bakker, Senior Oracle DBAReceived on Fri Mar 05 2004 - 16:00:54 CST