clear markdown compare help best fiddles feedback dbanow.uk a leap of faith?
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 2249268 fiddles created (32196 in the last week).

CREATE TABLE T ([DocNum] int) ; INSERT INTO T ([DocNum]) VALUES (386), (352), (385) ; select AllNumber = STUFF( ( SELECT ','+cast([DocNum] AS VARCHAR ) FROM T t FOR XML PATH('') ),1,1,'' )
AllNumber
386,352,385
 hidden batch(es)