Re: CASE

From: "Rudi Starcevic" <rudi(at)oasis(dot)net(dot)au>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: CASE
Date: 2003-04-08 10:57:59
Message-ID: 20030408105759.M33127@oasis.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Victor,

Thanks for your time ..

When casting inside a COALESCE function should it be something like:

WHEN COALESCE( MAX(e.edate),'2003-01-01'::date ) >= now()::date THEN 'events'

instead of:

WHEN COALESCE( MAX(e.edate),'2003-01-01') >= now()::date THEN 'events'

Regards
Rudi

In response to

  • Re: CASE at 2003-04-08 09:40:39 from Victor Yegorov

Responses

  • Re: CASE at 2003-04-08 11:09:58 from Victor Yegorov

Browse pgsql-sql by date

  From Date Subject
Next Message Victor Yegorov 2003-04-08 11:09:58 Re: CASE
Previous Message 2000info 2003-04-08 10:51:51 unsubscribe