From: | Anand Raman <araman(at)india-today(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Cursors in plpgsql |
Date: | 2001-04-17 06:34:14 |
Message-ID: | 20010417120414.I31344@india-today.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
there is the FOUND variable which can be negated to have the desired
effect ..
Try out
IF NOT FOUND ....
Hope this helps
Anand
On Mon, Apr 16, 2001 at 07:06:59PM +0530, Preeti Kamble wrote:
>Hi
>Is there a command in plpgsql similar to %NOTFOUND of oracle?
>
>i want to write a load script which takes each row from the temporary
>table, do some processing and insert into actual tables. Any idea how i
>can accomplish this???
>
>thank you
>regards
>Preeti
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Elphick | 2001-04-17 06:37:58 | Re: join queries |
Previous Message | Patrick Dunford | 2001-04-17 06:08:23 | Re: Possible ODBC driver error |
From | Date | Subject | |
---|---|---|---|
Next Message | Rini Dutta | 2001-04-17 14:28:53 | drastic reduction in speed of inserts as the table grows |
Previous Message | Tom Lane | 2001-04-16 23:49:06 | Re: RTREE on points |