Dot Net Help Coding
Translate
Saturday, 8 March 2014
STUFF AND FOR XML PATH for String Concatenation
select distinct sno ,
STUFF((Select ','+Scity
from @Test T1
where T1.sno=T2.sno
FOR XML PATH('')),1,1,'') from @Test T2
Result:
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)