79579932

Date: 2025-04-17 19:17:25
Score: 2
Natty:
Report link

Figured it out and @Charlieface was correct I was way overthinking this problem.

In my top OPENJSON call if I set this column name

`[ChildArray] nvarchar(max) '$.json_request.parentArray.childArray' as JSON`

Then I can make a simple call like this and my BuildingArea information is displayed correctly.

CROSS APPLY
OPENJSON(base.[ChildArray])
WITH (
BuildingArea int '$.Location.BuildingArea'
) AS details

Thank you @Charlieface for making me rethink my approach

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @Charlieface
  • User mentioned (0): @Charlieface
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: B. Youngman