you should use IFNULL() instead of ISNULL(). i think that's what i
originally suggested, unless i made a typo...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Mike Little wrote:
> <cfquery name="getCustomer" datasource="#variables.dsn#" 
> password="#variables.dbpassword#" username="#variables.dbusername#">
> SELECT customer.*
> FROM customer
> WHERE 1=1
> </cfquery>
>
> also tried as a test...
>
> <cfquery name="getCustomer" datasource="#variables.dsn#" 
> password="#variables.dbpassword#" username="#variables.dbusername#">
> SELECT customer_id, ISNULL(customer_dob, 'Not Defined') AS dob
> FROM customer
> WHERE 1=1
> </cfquery> 
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313519
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to