Re: nested elseif woes - Mailing list pgsql-general

From Kris Jurka
Subject Re: nested elseif woes
Date
Msg-id Pine.BSO.4.56.0405101356060.30260@leary.csoft.net
Whole thread Raw
In response to nested elseif woes  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Responses Re: nested elseif woes
List pgsql-general

On Mon, 10 May 2004, Ivan Sergio Borgonovo wrote:

> Now let's come to the problem:
>
> create or replace function testa( )
>     returns char(32) as
> '
> begin
>     if 1=2 then
>         if 1=2 then
>             select 1;
>         elseif 1=3 then
>             select 2;
>         elseif 1=4 then

Don't you mean ELSIF, not ELSEIF?

Kris Jurka


pgsql-general by date:

Previous
From: Frank Miles
Date:
Subject: Re: nested elseif woes
Next
From: Kris Jurka
Date:
Subject: Re: Rows to columns query