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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to exit a procedure if condition is true

Re: How to exit a procedure if condition is true

From: D Newsham <d_newsham_at_hotmail.com>
Date: 7 May 2003 11:11:27 -0700
Message-ID: <c883e8dd.0305071011.7f23f0ad@posting.google.com>


> WHY so complex?????

I snipped out quite a bit of code before posting - it actually does much more than I showed here.
Thanks!
D.

> create or replace procedure proc_cleanup
> is
> begin
>
> INSERT INTO TABLE2(col1,col2)
> SELECT id_no, quantity
> FROM table1
> WHERE id_no IS NOT NULL;
>
> end proc_cleanup;
>
> Isn't it better ??
>
> --
> Noel.
Received on Wed May 07 2003 - 13:11:27 CDT

Original text of this message

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