Thanks Dave! I've used varchar before and it was working earlier. I had to change the query around a bit and since then I've been getting this error. But I tried botd idstamp and char(36) and got the exact same error both times. I'm using SQL Server 2005. It works find in SQL Server Mgmt Studio Express and if I hardcode the query with an ID. Also, I'm using CF9 if that makes a difference. Anything else you can suggest?
On Fri, Jan 25, 2013 at 12:32 PM, Dave Watts <dwa...@figleaf.com> wrote: > > > I'm getting "Invalid Parameter Binding" on this function > > http://pastebin.com/xfh8uLVa > > > > The conf_id variable is a UUID string and if I put the value in the query > > and manually run it I get the results back.. But why am I getting this > with > > cfqueryparam? > > I'm not sure what database you're using, but I don't think UUID fields > are treated as generic strings. You might try using CF_SQL_IDSTAMP or > CF_SQL_CHAR(36) for the CFSQLTYPE attribute. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354068 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm