We can use this function to combine multiple rows into single one. Generally to create comma separated list for each unique item. So this can create comma separated product list for any given category.
The same can be used to make a list of items in a given order.
Thanks
Mohit Nayyar
http://mohitnayyar.blogspot.com/
Creating a PDF from a Stored Procedure in SQL Server
A short but interesting article, the author has figured out a way to create a PDF from a stored procedure without using a third party library.
2019-09-20 (first published: 2003-08-26)
73,225 reads