SQL Server allows for the path parameter to be constructed within OPENJSON.
Using this functionality prevents SQL Prompt to run Code Formatting/Correction on the query.
CROSS APPLY OpenJson(D.JSONColumn,'$.path.' + tableAlias.[pathColumname])
The error is a Script parsing Error: Incorrect syntax near +
Using this functionality prevents SQL Prompt to run Code Formatting/Correction on the query.
CROSS APPLY OpenJson(D.JSONColumn,'$.path.' + tableAlias.[pathColumname])
The error is a Script parsing Error: Incorrect syntax near +