erik tom wrote: > I have a query that returns the EmployeeiD, on the other table i have column > employeeId which is varchar datatype. so my question is how can I convert > integer list into char list so it looks like this > > <cfste list="'1233','12333','3333333' " and so on
cfqueryparam doesn't care that the input is not quoted: <cfset integerList = "1233,12333,3333333" /> <cfquery ...> SELECT ... FROM ... WHERE varcharField IN (<cfqueryparam list="true" cfsqltype="cf_sql_varchar" value="#integerList#">) </cfquery> Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302212 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

