Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

FOR JSON PATH SQL Server

SELECT BusinessEntityID As Id,  
       FirstName, LastName,  
       Title As 'Info.Title',  
       MiddleName As 'Info.MiddleName'  
   FROM Person  
   FOR JSON PATH, ROOT('info'),INCLUDE_NULL_VALUES
 
PREVIOUS NEXT
Tagged: #FOR #JSON #PATH #SQL #Server
ADD COMMENT
Topic
Name
4+6 =