Skip to Main Content

SQL Developer

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!

Colon in json syntax interpreted as bind variable by sqldev

Peter de VaalMay 27 2025 — edited May 27 2025

I have a query that uses JSON_OBJECT functions to build a json document. It uses the syntax with a colon. The query works when I execute it in sql worksheet in sqldev, but when I include it in a cursor definition in a package the package does not compile, but thinks the colon(s) ask for a bind variable.

How can we avoid this?

This post has been answered by Peter de Vaal on May 28 2025
Jump to Answer
Comments
Post Details
Added on May 27 2025
5 comments
226 views