Re: CASE - Mailing list pgsql-sql

From Rudi Starcevic
Subject Re: CASE
Date
Msg-id 20030408112044.M7251@oasis.net.au
Whole thread Raw
In response to Re: CASE  ("Victor Yegorov" <viy@pirmabanka.lv>)
List pgsql-sql
Victor,

Thanks again,

I'll try first thing in the morning as I'm at home now.
Now I can sleep well knowing a solution is at hand :-)

I'm very pleased as that was a small part of what I think is
an advanced query and look forward to seeing it work.

I'll send a reply first thing tomorrow when I get to work.
Cheers
Rudi.

> * Rudi Starcevic <rudi@oasis.net.au> [08.04.2003 14:06]:
> > When casting inside a COALESCE function should it be something like:
> > 
> > WHEN COALESCE( MAX(e.edate),'2003-01-01'::date ) >= now()::date THEN 'events'
> 
> Yes.
> Please, try it and report if it works.
> 
> -- 
> 
> Victor Yegorov



pgsql-sql by date:

Previous
From: "Victor Yegorov"
Date:
Subject: Re: CASE
Next
From: Greg Stark
Date:
Subject: Re: CASE