Skip to content

Instantly share code, notes, and snippets.

@osya
Last active August 29, 2015 14:11
Show Gist options
  • Save osya/fcb8ee63d79f4855d576 to your computer and use it in GitHub Desktop.
Save osya/fcb8ee63d79f4855d576 to your computer and use it in GitHub Desktop.
Объединение результата запроса в одну строку #SQL
SELECT TOP 10 CAST(ACCOUNT_value_id AS NVARCHAR) + '...'
FROM [DM].[F_ACCOUNT_VALUE] FOR XML PATH('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment