> <CFQUERY datasource="wilsoncart" name="compare"> Select from 
> data Where len(order#) = '5'
> order by order#
> </CFQUERY>
> 
> I get an error on the (
> 
> It works in SQL Query Analyzer though.
> 
> What can I use to get the length of that string which is numeric?

You're using an unescaped reserved character (#) within your CFQUERY. You'll
either need to rename your column to something more sensible, or escape the
hash by doubling it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183525
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