The best that I know, as far as cfqueryparam is conserened a UUID is simply a 35 character string. I usually use char or varchar when I have them in a queryparam.
Duncan I Loxton wrote: >We use UUId for our users primary key - what cfsqltype should I use to >get the correct match? > >e.g. ><cfquery name="getStaffDetail" dataSource="#Application.DataSource#" >userName="#Application.DBUserName#" >password="#Application.DBUserPwd#"> > SELECT * > FROM Users > usr_id = <cfqueryparam value="#attributes.usr_id#" > cfsqltype="CF_SQL_UUID"> ></cfquery> > >There doesnt seem to be a match in the documentation - should I be >using a different type that copes with UUID's? > >Thanks! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:189602 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

