some pl/pgsql help please

From: tony <tony(at)animaproductions(dot)com>
To: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: some pl/pgsql help please
Date: 2002-04-23 13:33:13
Message-ID: 1019568793.6481.49.camel@vaio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I am writing a function where I have three variables

$1
$2
$3

if the variable is not null the function does an update on a bool flag
in my table

I could write three "if then else" statements. Is there any way of doing
this with one "loop" statement? (loops are not my cup of tea...)

TIA

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-04-23 13:56:38 Re: Date indexing
Previous Message Dima Tkach 2002-04-23 12:56:31 Re: Date indexing