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: Help: How do you manually lock a table?

Re: Help: How do you manually lock a table?

From: Nuno Souto <nsouto_at_optushome.com.au.nospam>
Date: Wed, 05 Dec 2001 13:03:55 GMT
Message-ID: <3c0e1b14.5596583@news>


feng.shao doodled thusly:

>Hi, We need to purposely lock a table to test some scripts.
>How would you do that?
>Somebody suggested us building a huge table and rebuild the index on it,
>is that the only way to do it?
>

LOCK TABLE <tablename> IN EXCLUSIVE MODE;

should do the trick?

Cheers
Nuno Souto
nsouto_at_optushome.com.au.nospam Received on Wed Dec 05 2001 - 07:03:55 CST

Original text of this message

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