Re: CASE

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "c k" <shreeseva(dot)learning(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: CASE
Date: 2008-08-19 11:01:30
Message-ID: 162867790808190401l5cf2a34br7ddd530215bf7ab6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

Develop PL/pgSQL (PostgreSQL 8.4) has CASE statement. Actual and
older version hasn't nothing similar.

Regards
Pavel Stehule

2008/8/19 c k <shreeseva(dot)learning(at)gmail(dot)com>:
> Is there any control structure statement similar to select case ... ? If yes
> how to use it. I have tried to use, case when <expression> then <expression>
> end, but not worked well as I want to use other control structures and sql
> statements to be executed for each case.
>
> Please reply.
> Thanks
> CPK.
>

In response to

  • CASE at 2008-08-19 10:55:52 from c k

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2008-08-19 11:34:19 Re: What's size of your PostgreSQL Database?
Previous Message c k 2008-08-19 10:55:52 CASE