Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: please help me to unlock a table
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_at_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 <thienhd_at_yahoo.com> 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: jkstill_at_cybcon.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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Christopher Spence INET: cspence_at_FuelSpot.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 Thu Oct 04 2001 - 08:19:39 CDT
![]() |
![]() |