You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT [b].[Id], CAST([n].[value] AS int) AS [value],[n].[key]
FROM [Blogs] AS [b]
OUTER APPLY OPENJSON([b].[Numbers]) AS [n]ORDER BY [b].[Id],CAST([n].[key] AS int)
We need to order by the key here in order to preserve the collection's ordering; however, there's no reason to project it out to the client. Note the similarity with #19828 - there we removed the last identifier column from the ordering, but not from the projection.
The text was updated successfully, but these errors were encountered:
LINQ:
SQL Server SQL:
We need to order by the key here in order to preserve the collection's ordering; however, there's no reason to project it out to the client. Note the similarity with #19828 - there we removed the last identifier column from the ordering, but not from the projection.
The text was updated successfully, but these errors were encountered: