将JSON数据作为外部表连接到SQL Server

时间:2019-02-13 10:20:17

标签: json sql-server

我找到了带有JSon格式统计信息的网页

例如:

https://data.cityofnewyork.us/api/views/kku6-nxdu/rows.json?accessType=DOWNLOAD statistic data

我想将此数据快速连接为SQL Server中的表或视图。这可能吗?

1 个答案:

答案 0 :(得分:1)

尝试使用诸如[sp_OAMethod][1]之类的存储过程从API中提取数据。 然后使用OPENJSON解析收到的JSON。 This article would be helpful to you.