Skip to content

Commit 597a31d

Browse files
committed
Updating sqlscript: Qry_JSON_columns
1 parent 601984f commit 597a31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlscript/Qry_JSON_columns.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Qry_JSON_columns",
33
"properties": {
44
"content": {
5-
"query": "SELECT JSON_VALUE(doc, '$.product_name') AS product,\n JSON_VALUE(doc, '$.list_price') AS price\nFROM\n OPENROWSET(\n BULK 'https://knoxlakegen2.blob.core.windows.net/etlload/*.json',\n FORMAT = 'csv',\n FIELDTERMINATOR ='0x0b',\n FIELDQUOTE = '0x0b',\n ROWTERMINATOR = '0x0b'\n ) WITH (doc NVARCHAR(MAX)) as rows",
5+
"query": "SELECT JSON_VALUE(doc, '$.product_name') AS product,\n JSON_VALUE(doc, '$.list_price') AS price,\n JSON_VALUE(doc, '$.product_id') as ID\nFROM\n OPENROWSET(\n BULK 'https://knoxlakegen2.blob.core.windows.net/etlload/*.json',\n FORMAT = 'csv',\n FIELDTERMINATOR ='0x0b',\n FIELDQUOTE = '0x0b',\n ROWTERMINATOR = '0x0b'\n ) WITH (doc NVARCHAR(MAX)) as rows",
66
"metadata": {
77
"language": "sql"
88
},

0 commit comments

Comments
 (0)