Hello.
I have the following code:
So the idea is when it encounters an error (any error), it just skips the line that caused the error and continues executing the code in the procedure.
Of course, the has limited use, but is applicable in this situation as-proposed.
Thank you for your help.
-Mike Kemp
I have the following code:
Code:
[COLOR=blue]procedure someproc as
vcSQL varchar2(1000);
begin
vcSQL:='drop table sometable';
execute immediate vcSQL;
vcSQL:='create global temporary table gttbl_table1 (col1 varchar2(10))';
vcSQL:=vcSQL||' on commit preserve rows';
execute immediate vcSQL;
exception
when others then
RESUME NEXT??;
end someproc;[/color]
Of course, the has limited use, but is applicable in this situation as-proposed.
Thank you for your help.
-Mike Kemp