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: Question about Record Locks

Re: Question about Record Locks

From: Connor McDonald <mcdonald.connor.cs_at_bhp.com.au>
Date: Wed, 17 Mar 1999 16:49:19 +0800
Message-ID: <36EF6C8F.3FF1@bhp.com.au>


Todd Matson wrote:
>
> If I have SELECT privileges only, is there anything I can do that will
> create a record lock?
>
> Here's my situation: I have written a reporting tool which has SELECT
> privileges on a database. On rare instances, another application fails when
> it tries to make updates to the database. Now the DBA is asking me if my
> reporting application does anything which might cause the updates to fail
> (for instance, creating exclusive record locks). It is my understanding that
> I simply cannot do anything to interfere, even if I want to, as long as I
> have SELECT privileges only. Am I wrong about that?
>
> I should mention that I am not running any stored procedures and I'm
> executing my queries through ODBC.
>
> -Todd Matson

Theoretically no...

You may wish to confirm exactly what calls your reporting tool is doing by issuing either "alter session set sql_trace = true" or "dbms_session.set_sql_trace(true)" at the start of the report run and use tkprof to see whether it was "sneaking" any update calls in...

HTH   --



Connor McDonald
BHP Information Technology
Perth, Western Australia
"Never wrestle a pig - you both get dirty and the pig likes it..." Received on Wed Mar 17 1999 - 02:49:19 CST

Original text of this message

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