Skip to content

Instantly share code, notes, and snippets.

View internetbird's full-sized avatar

Shai Aharoni internetbird

  • Kfar Saba, Israel
View GitHub Profile
@internetbird
internetbird / String.Join SQL Result.sql
Last active December 21, 2015 01:48
Creating a "joined" string from SQL individual results
DECLARE @Names VARCHAR(8000)
SELECT @Names = COALESCE(@Names + ', ', '') + Name
FROM People