Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do I use JSON functions like JSON_EXTRACT and JSON_UNQUOTE

Robert OwenNov 21 2024 — edited 44 hours ago

Hi! I am currently trying to write some SQL queries to extract specific values out of JSON stored in our database as a CLOB data type.

I am using SQL Developer Version 23.1.0.097 (Build 097.1607).

In my query, I have code such as: ELSE JSON_UNQUOTE(JSON_EXTRACT(a.OBJECT, '$[0]'))

But I am getting errors when I try to run the code.

From what I can see, it looks like these JSON functions, are supported in Oracle and in SQL Developer specifically, but maybe there is an extension or a plug-in needed? Or do I need to somehow declare something in order to use these features? Any advice would be greatly appreciated.

This post has been answered by mathguy on Dec 5 2024
Jump to Answer
Comments
Post Details
Added on Nov 21 2024
3 comments
95 views