Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Looping in SQL

Looping in SQL

From: Kimbert Dy NIng <bert_at_admicro.bc.ca>
Date: Sat, 24 Mar 2001 08:53:34 GMT
Message-ID: <igZu6.109671$tP3.1704232@news1.rdc1.bc.home.com>

I want to keep trying to alter a table until it is successful. If the alter table command
is not successful, then try the alter command again. If it is not successul then do the
next SQL command. I need to somehow check the SQL error code for alter command
if it's OK or not. Can somebody tell me how to do this in SQL ??

Thank You Very Much! Received on Sat Mar 24 2001 - 02:53:34 CST

Original text of this message

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