Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: dba_xxx view in stored procedures
JACK PEREYRA wrote:
>
> How do I use dba_xxx views in stored procedures to avoid getting
> PLS-00904: insufficient privilege to access object ?
>
> Thanks
Grant SELECT on dba_xxx DIRECTLY to the procedure owner but not through role if you have any.
--- Name : Lun Wing San Title : Oracle Application Developer of Hong Kong Productivity Council Oracle Database Administrator and System Administrator of QRC Phone : (852)27885841Received on Tue Jan 07 1997 - 00:00:00 CST