SQL: Scalanie danych wielu wierszy w ciągu
DECLARE @Names VARCHAR(8000)
SELECT @Names = COALESCE(@Names + ', ', '') +
ISNULL(Name, 'N/A')
FROM People
Inexpensive Iguana