I am having one query which returns me following output.
(No of results not same all time, means sometimes it gives 3 category,sometimes 8 category etc..)
CategoryName
Test1
Test2
Test3
Now i want that store procedure should return me these date in comma separated format. e.g. output string should be like: Test1,Test2,Test3
Can you please tell me how can i achieve this?