Row to json в SQL Server
SELECT *
FROM MyTable
FOR JSON PATH, WITHOUT_ARRAY_WRAPPER
Tiny Coders
SELECT *
FROM MyTable
FOR JSON PATH, WITHOUT_ARRAY_WRAPPER