I think you need this:
<cfset pa_list = QuotedValueList(palist.atty_id)> <cfquery name="myquery"> SELECT * FROM atty WHERE atty_id IN (#pa_list#) </cfquery> -----Original Message----- From: Cynthia Reece [mailto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 5:24 PM To: CF-Talk Subject: RE: Query"Where in List" with UUID Problem Try your query like this: <cfquery name="myquery"> SELECT * FROM atty WHERE atty_id IN IN ('#ValueList(pa_list)#') </cfquery> -----Original Message----- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 5:08 PM To: CF-Talk Subject: Query"Where in List" with UUID Problem Doing this: <cfset pa_list = ValueList(palist.atty_id)> <cfquery name="myquery"> SELECT * FROM atty WHERE atty_id IN (#pa_list#) </cfquery> Originally, the pa_list was just numbers - 11,148,83,23 The query worked fine at that point. However, a decision was made to use #CreateUUID()# to create the ID's, so the pa_list NOW looks like: 1203,560,110,A6059FCB-BCD2-35D3-DD69BDA7A81553CF,A6081455-BCD2-35D3-DD69 BDA7A81553CF Which is creating an error. Not sure what my syntax problem is at the moment. Haven't had enough coffee yet today. Thanks, -- ----------- Les Mizzell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191600 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

