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: What is the result of this

Re: What is the result of this

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Tue, 15 Apr 2003 12:59:17 -0800
Message-ID: <F001.00581D73.20030415125917@fatcity.com>


Stephen Lee wrote:
>
> Here's a question that came up around here that nobody was sure about.
> Suppose you need to drop and index on a busy table, and you keep getting the
> "Resource busy .... " error. So you create a procedure as follows:
>
> create or replace procedure go as
> begin
> execute immediate 'drop index BUBBA.INDEX_NAME';
> exception
> when others then
> go;
> end;
> /
>
> Is this the a equivalent of a single loop that just loops around until
> successful; or does this result in recursion that just gets deeper and
> deeper, using up a constantly increasing amount of resources?
>

My feeling is that in most cases you'll overflow the Oracle exception stack very quickly.

-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Apr 15 2003 - 15:59:17 CDT

Original text of this message

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