A concatenation OPENJSON in a SQL Server 2016 stored procedure
问题 I need to combine all of the authors for a particular UID. The basic fields are working from the code at another post. DECLARE @json NVARCHAR(MAX) SET @json = '{ "header": { "type": "esummary", "version": "0.3" }, "result": { "uids": [ "17784783", "19505939", "30166592" ], "17784783": { "uid": "17784783", "pubdate": "2007 Aug", "epubdate": "2007 Jul 20", "source": "PLoS Comput Biol", "sortpubdate": "2007/08/01 00:00", "authors": [ { "name": "Yu Y", "authtype": "Author", "clusterid": "" }, {