Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> problem with select from v$session

problem with select from v$session

From: Anurag Minocha <anurag_at_synergy-infotech.com>
Date: Fri, 06 Aug 1999 12:49:14 +0530
Message-ID: <37AA8C71.23677B72@synergy-infotech.com>


Hi,
Most of the questions which i have been posting on this news group have not been answered but still i am trying to solve my problem through this channel.

My problem is that i have a user with the following roles

1.resource
2.connect
3.dba

If from the sqlplus i query the view v$session it gives me the result but if the same select statement inside a stored procedure it says v$session not declared. Now if i grant select any table to this user then the stored procedure is compiling fine.

Can somebody clear my confusion as to why from the sqlplus the query got executed and why not from the stored procedure.

I hope that there is atleast somebody there who is ready to help me.

Thanks
anurag

also reply at
anurag_at_synergy-infotech.com Received on Fri Aug 06 1999 - 02:19:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US