What it prevents is DML creating shared locks on the table.
I cannot remember where table locks are in the docs, but that is what I
should say.  Perhaps it was miss-worded.


"Do not criticize someone until you walked a mile in their shoes, that way
when you criticize them, you are a mile a way and have their shoes."

Christopher R. Spence 
Oracle DBA
Phone: (978) 322-5744
Fax:    (707) 885-2275

Fuelspot
73 Princeton Street
North, Chelmsford 01863
 


-----Original Message-----
Sent: Wednesday, October 03, 2001 12:20 AM
To: Multiple recipients of list ORACLE-L


Interesting, I didn't know about that.

It won't however, unlock a table.

What it will do is prevent DDL on the
table by disabling the use of exclusive
locks on the table.

20:17:08 jkstill@ts01 SQL> alter table x modify ( x not null );
alter table x modify ( x not null )
*
ERROR at line 1:
ORA-00069: cannot acquire lock -- table locks disabled for X

The Fine Documentation erroneously states that it 
will prevent DML, which it does not.

Jared


On Tuesday 02 October 2001 03:20, ASHRAF SALAYMEH wrote:
> Try this:
> Alter table table_name disable table lock;
>
> --- Ha Duy Thien <[EMAIL PROTECTED]> wrote:
> > Hi all
> >
> > Does anyone know how to unlock a locked table?
> >
> >
> > Thanks in advance
> >
> > Ha Duy Thien
> >
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Christopher Spence
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to