Skip to Main Content

SQL Developer for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Bug: Syntax Error When Using JSON_TRANSFORM with MERGE Operation and Various Options

The following statement works in Oracle Database 23ai but produces a syntax error in the VS Code extension 24.3.1.

select json_transform(
          '{"a":{"a1":1, "a2":2}, "b":{"b1":3, "b2":4}}',
          merge '$.a' = path '$.b' format json
          null on missing
          ignore on mismatch
          ignore on null
          ignore on empty
       );

Here's the screenshot showing the complete error message:

This post has been answered by Philipp Salvisberg on Apr 15 2025
Jump to Answer
Comments
Post Details
Added on Dec 15 2024
1 comment
106 views