How to grant select on v$session
SQL> grant select on v$session to test;
grant select on v$session to test
ORA-02030: can only select from fixed tables/views
SQL> select OWNER,OBJECT_NAME,OBJECT_TYPE from dba_objects where OBJECT_NAME='V$SESSION';
OWNER OBJECT_NAME OBJECT_TYPE
------------------------------ -------------------------------------------------------------------------------- -------------------
PUBLIC V$SESSION SYNONYM
SQL> select OWNER,OBJECT_NAME,OBJECT_TYPE from dba_objects where OBJECT_NAME='V_$SESSION';
OWNER OBJECT_NAME OBJECT_TYPE
------------------------------ -------------------------------------------------------------------------------- -------------------
SYS V_$SESSION VIEW
SQL> grant select on v_$session to test;
Grant succeeded
imgranMnohe Yolanda Logan https://pt.syndinsurance.ltd/profile/pakilleithonideliah/profile
ReplyDeletetairehyra