Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to parse json in sql server

DECLARE @json NVarChar(2048) = N'{
  "owner": null,
  "brand": "BMW",
  "year": 2020,
   "status": false
}';
 
SELECT * FROM OpenJson(@json);
 
PREVIOUS NEXT
Tagged: #parse #json #sql #server
ADD COMMENT
Topic
Name
9+1 =