Re: nested elseif woes

From: Kris Jurka <books(at)ejurka(dot)com>
To: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: nested elseif woes
Date: 2004-05-10 18:56:39
Message-ID: Pine.BSO.4.56.0405101356060.30260@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kris Jurka 2004-05-10 18:59:59 Re: Rows to columns query
Previous Message Frank Miles 2004-05-10 18:49:18 Re: nested elseif woes