> 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
PostgreSQL: The world's most advanced open source database Discussion.
No comments:
Post a Comment