Can I queryparam a string used in a MySQL IN statement using ColdFusion?
问题 I'm running MySQL 5.0.88 and Coldfusion8. In a form, I'm grabbing a number of record ids from a table and send them to the server. The string will look like so: 9900000002985,9900000003180,9900000003203,9900000003487,9900000003579 I'm then passing this into MySQL, initially like so: SELECT bk.* FROM header AS bk WHERE 1 AND bk.iln_kaeufer IN ( #passed_in_string# ) I have been trying for a while to use cfqueryparam like so: <cfqueryparam cfsqltype="cf_sql_longvarchar" value="#passed_in_string#