stuff Questions
8
Table is:
Id
Name
1
aaa
1
bbb
1
ccc
1
ddd
1
eee
Required output:
Id
abc
1
aaa,bbb,ccc,ddd,eee
Query:
SELECT ID,
abc = STUFF(
(SELECT ',' + name FROM temp1 FOR XML...
Assembled asked 3/7, 2015 at 17:3
1
© 2022 - 2024 — McMap. All rights reserved.