immediate if function

From: <terry(at)ashtonwoodshomes(dot)com>
To: "Postgres (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: immediate if function
Date: 2003-02-07 03:55:01
Message-ID: 001601c2ce5c$b1accc40$2766f30a@development.greatgulfhomes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have been through the list of functions offered by Postgres and I cannot
find an immediate if function. Is there one available? Or perhaps, is
there a better way to do this:

I have a date field, and if the status is X then I want to return the date,
otherwise I want to return a null. Any ideas?

Terry Fielder
Manager Software Development and Deployment
Great Gulf Homes / Ashton Woods Homes
terry(at)greatgulfhomes(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2003-02-07 04:08:47 Re: immediate if function
Previous Message kanchana 2003-02-07 03:47:14 Re: start error - pgsql