Hola peeps!

Is there a way to tell the queryNew() function what datatype a
particular column is?

i have a query that i make that is the result set of a query or two,
and i have a total column that i write a number to.  the cells may be
null, may have a number, but NOTHING else.

select sum(Total)
from getThis
where date = '05/01/2005'

and its telling me that it cant perform that operation where an
operand is of type varchar.  well its not.  its numeric.

any ideas?

thanks

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

"...straight cash homey"
- randy moss, now a raider

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206146
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to