Yes, but if you have to run a separate query for each row of the parent query, that will kill performance.
> -----Original Message----- > From: Kris Jones [mailto:[EMAIL PROTECTED] > Sent: Friday, August 04, 2006 5:08 PM > To: CF-Talk > Subject: Re: SQL concat? help > > In CF, getting a list of values from a column in a query is pretty > trivial: > > valuelist(qryname.colname) > > Cheers, > Kris > > > What I actually wanted was a list of all someotherID's for a someID in a > > single column. I found a function that sort of does this (Coalesce), > and > > after digging up my old code, did it using temp tables and cursors. > > > > I was optimizing code that was doing it in CF and was taking a little > too > > long to run for my taste. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248846 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4