How can we help you today? How can we help you today?

BUG: OPENJSON( ) and Square Brackets

SSMS, ADD Square Brackets is enabled. Most current SQL Prompt and SSMS upgrades.

When SQL Prompt formats, and adds Square Brackets, as desired, the following error is encountered with OPENJSON( ).

In a multi-table JOIN that includes an OPENJSON( ) table as a JOIN participant, SQL Prompt will add Square Brackets to [OPENJSON]( ). That will then cause the query to fail. 

Square Brackets are  NOT added when OPENJSON( ) is the ONLY table in a query.

ArnieRowland
0

Comments

1 comment

  • ArnieRowland
    Why is there NOT a TAG for 'BUG'? (Seems it would be quite useful.)
    ArnieRowland
    0

Add comment

Please sign in to leave a comment.