Grrr.  I found something right after sending the email ... but can this
be the best solution?

SELECT cType, nItemTotal, CASE WHEN UPPER(cType)='EXPENSE', THEN
nItemTotal ELSE 0.0 END as nExpTotal FROM MySchema.MyTable WHERE dCreate
>= current_date - 365 ORDER BY cType

-Kevin
CULLY Technologies, LLC

Sponsor of FoxForward 2007
foxforward.net


Kevin Cully wrote:
> I'm trying convert a VFP SQL Select statement over to run under
> PostgreSQL, and I'm not finding the replacement for IIF.  Any tips?
> 
> -Kevin
> CULLY Technologies, LLC
> 
> Sponsor of FoxForward 2007
> foxforward.net
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to