Tuesday, January 21, 2014
ORA-02030 v$lock v$session v$process v$rollname
Error
SQL> grant select on v$lock to oms;
grant select on v$lock to oms
*
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
Solution
select synonym_name,
table_name
from dba_synonyms
where synonym_name in ('V$LOCK','V$SESSION','V$PROCESS','V$ROLLNAME');
SYNONYM_NAME TABLE_NAME
------------------------------ ------------------------------
V$LOCK V_$LOCK
V$PROCESS V_$PROCESS
V$ROLLNAME V_$ROLLNAME
V$SESSION V_$SESSION
SQL> grant select on v_$lock to supersmartuser;
Grant succeeded.
Subscribe to:
Posts (Atom)