Try using the val() function. 

> -----Original Message-----
> From: Rick Root [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 12, 2006 10:53 AM
> 
> I ran this query and got a different error:
> 
>       select
>               SUM((OPTION_PRICE+0)) AS MERCH_CHARGE
>       FROM contents
> 
> Cannot mix types "VARCHAR" and "BIGINT" in a "+" binary operation
> 
> so it looks like for some reason, coldfusion things 
> "OPTION_PRICE" is a 
> varchar, even though the column type in the database is 
> "DECIMAL(10,2)"

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240360
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to