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 -> Re: check table lock.

Re: check table lock.

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Wed, 26 Apr 2006 13:21:32 GMT
Message-ID: <IyBzry.6Fu@igsrsparc2.er.usgs.gov>


> grant select on v$lock to <the user wanting to view>;

Sign on as SYS. Then issue:

GRANT SELECT ON V_$LOCK TO <user>;

Note the underscore. Failure to use the underscore will result in:

ORA-02030: can only select from fixed tables/views

Cheers,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Wed Apr 26 2006 - 08:21:32 CDT

Original text of this message

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