My Oracle Support Banner

How To Extract BLOB Data To JSON PL/SQL (Doc ID 2912441.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.10.0.0.0 and later
Information in this document applies to any platform.

Goal

How to extract data in a BLOB object into JSON formatted data using a trigger.

In the 12c database, this task was done using UTL_RAW.CAST_TO_VARCHAR2. The trigger is on the table that contains this BLOB field, but in 19c a JSON ERROR is raised.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.