Viewing post 1 (of 1 total)
Hello,
try this select (this pivots rows to one string row):
select stuff((select top 10 ',"' + code + '"' from Products order by code for XML path('')), 1, 1, '');
September 2, 2010 at 12:53 am
#1215425