Created
June 23, 2014 15:54
-
-
Save timgaunt/de0768cb09f634ba8c98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @S varchar(max) = '' | |
SELECT @S = @S + ' | |
' + [YourField] FROM [YourTable] | |
SELECT @S AS [Data] FOR XML PATH('') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment