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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: locking tables

Re: locking tables

From: Ramamohan B N <ramamohan.bn_at_tatainfotech.com>
Date: Mon, 19 Feb 2001 01:10:54 -0800
Message-ID: <F001.002B7B48.20010219004522@fatcity.com>

Hi Austin

I dont know wether it can be done from the DB or not... But you can do it from your application by setting a flag when ever an update is happening and selecting only those records which doesn't hjave this flag set.

Regards,
Mohan

Kris Austin wrote:
>
> hi list,
>
> how can you prevent another session from selecting from the table until
> your update has committed?
>
> we have a procedure that is querying and updating the table as one
> transaction. theoretically, we'd like to prevent any other session from
> accessing that table.
>
> is this possible? we cannot limit the oracle account to one session. many
> sessions need to be open since this is an ecommerce database application.
>
> we are running oracle 8.1.6 on solaris.
>
> thanks!
> kris
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Kris Austin
> INET: kaustin_at_advance.net
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ramamohan B N
  INET: ramamohan.bn_at_tatainfotech.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Feb 19 2001 - 03:10:54 CST

Original text of this message

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