macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: which function does this?.

Subject: Re: which function does this?.
From: "cf_dev2"
Date: Tue, 7 Aug 2007 17:45:58 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
You don't need the cfloop.  ValueList converts a column of query values to a 
list.  

<cfset theList = ValueList(id_sel.empId, ",") >
....
where empid in (#theList#)


<Prev in Thread] Current Thread [Next in Thread>