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: Rename table transaction

Re: Rename table transaction

From: Jared Still <jkstill_at_gmail.com>
Date: Mon, 21 Mar 2005 08:25:44 -0800
Message-ID: <bf4638050321082569c1e45c@mail.gmail.com>


Thanks Sunil.

This is strictly a proof of concept, and there are probably other caveats as well.

Code supplied on this list is not frequently unit tested, at least not by me.

Jared

On Mon, 21 Mar 2005 08:21:27 -0800 (PST), Sunil Bhola <oraclebhola_at_yahoo.com> wrote:
> Hi,
>
> When you rename a table, the command requires an exclusive lock, so if
> there is uncommitted DML will cause the rename attempt to fail. To lock the
> table with command you should use "LOCK TABLE <<TABLENAME>> in exclusive
> lock".
>
> Hope it will give you the guideline :
>
> Sunil Bhola
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Mar 21 2005 - 11:29:30 CST

Original text of this message

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