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: problem with dynamic sql

Re: problem with dynamic sql

From: Stefan Jahnke <stefan.jahnke_at_d2vodafone.de>
Date: Thu, 07 Jun 2001 09:35:52 -0700
Message-ID: <F001.003205DA.20010607075132@fatcity.com>

Harvinder Singh schrieb:
>
> Hi,
>
> I am running couple of ddl statements dynamically....
> problem is whenever oracle is unable to execute particlar
> statement it just exit from procedure and don't go to next
> statement.
> How to modify syntax.........
>
> Thanks
> Harvinder
> --

Hi,

just catch the exceptions. For example,

I'm trying to drop database links. Since I'm not sure wether they already exist or not, I just catch exception 2024. Read the Error Messages Docu to find out about what to catch.
| Regards,                   |
| Stefan Jahnke              |
| BOV AG                     |

| @:D2 Vodafone, Abt.: FIBM |
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stefan Jahnke
  INET: stefan.jahnke_at_d2vodafone.de

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 Jun 07 2001 - 11:35:52 CDT

Original text of this message

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