sql server import json
DECLARE @JSON VARCHAR(MAX)
SELECT @JSON = BulkColumn
FROM OPENROWSET
(BULK 'C:file-locationmy-data.json', SINGLE_CLOB)
AS j
sql server import json
DECLARE @JSON VARCHAR(MAX)
SELECT @JSON = BulkColumn
FROM OPENROWSET
(BULK 'C:file-locationmy-data.json', SINGLE_CLOB)
AS j
sql server import json
{
"ok": true,
"data": {
"assets": {
"parcels": [{
"id": "51,100",
"x": 51,
"y": 100,
"auction_price": 4444,
"district_id": "77909d00",
"owner": "Dr Cornwallis",
"data": { "version": 0 }
},
//...+ 2499 more objects in the parcels array
],
total: 2500
},
},
}
sql server import json
If (ISJSON(@JSON)=1)
SELECT @JSON AS 'JSON Text'
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us