XP for the programmer
To convert several rows to unique row in CSV using T-SQL, use the following code:
DECLARE @myList varchar(MAX) SELECT @myList = coalesce(@myList + ',', '') + UserName FROM [User] SELECT @myList
Post a Comment
No comments:
Post a Comment