How to get all records using IN operator in cfqueryparam in coldfusion?
I have a query which I try to fetch records using IN operator. But the record retrieves only first data not all data . What I have tried is
<cfargument name="names" type="struct" >
SELECT
ID,
Name,
Title
FROM
tblabcd
WHERE
Active = 1
AND Name IN(<cfqueryparam value="#arguments.names.data#" cfsqltype="cf_sql_varchar" list="yes" separator="|">)
</cfquery>
Here arguments.names.data = abc data | efg name
Query return only data of "abc data"
How to return both data's from this query using IN operator.
