c k wrote:
Hi,
I want to create a function as follows:

case variable=value1
   SQL statements
case variable=value2
  SQL statements
case else
end of case

Looks like you want to use pl/pgsl and IF ... THEN ... ELSE instead?

Cheers
Tino

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to