If you haven't written in PL/SQL it isn't tough to learn, but the syntax is a little rough, just google for a good tutorial. --Ben.
>>> [EMAIL PROTECTED] 5/27/2005 8:55:37 AM >>> Actually I need the function in SQL (oracle) I was told I need to write a function or stored proc. Any help would be appreciated. >In the given example, this would work if you are query returns results >for one person: > >ValueList(queryname.Ordernumber) > >If you need each list item in quotes- for instance to be inserted into >another query- you can use > >QuotedValueList(queryname.Ordernumber) > >If your query returns results for multiple people, there are several >things you can do. For instance, you could do a Query of Queries to get >results for one person and use ValueList(). > >Matt Osbun >Web Developer >Health Systems, International > > > >-----Original Message----- >From: Torrent Girl [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 26, 2005 12:04 PM >To: CF-Newbie >Subject: Comma delimited list > > >Sorry. > >I have a query. Let's say that I am pulling person, and order number >from Orders grouped by product category. > >Well, there may be more than one order number for a person, but all in >the same category. I want the order numbers in the same column seperated >by commas. > > > > > >>>How do i created one from results that are grouped? >> >>Hi Torrent. What do you mean? Please expound. >> >> >>[ simon.cpu ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1031 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
