Let's assume we have two tables - Customers and Orders.
I need a query that will return a string value containing a list of order titles from the Orders table for a particular customer.
How can this be done?
Thanks.
Hi vkh,
you have to use a function approach for this, as it can be seen on (sort of, I would vary this one to a temporary table rather than a cursor, but just to show you the iterative approach)
http://www.sqlteam.com/item.asp?ItemID=2368
HTH; jens Suessmeyer.
|||Thank you!
No comments:
Post a Comment