My Oracle Support Banner

PLSQL Unit Can Fail In 12.2 Database During Compilation/Runtime When Using JSON_* In The Code (Doc ID 2259772.1)

Last updated on MARCH 04, 2022

Applies to:

PL/SQL - Version 12.2 BETA1 and later
Oracle Database - Enterprise Edition - Version to [Release 18]
Information in this document applies to any platform.


1) PL/SQL unit using custom version of JSON_* function/procedure/type/type body fails to compile/run from version.

2) Same code would compile/run fine till version of database.

Some sample code(s): 

Both the code fails with "PLS-00103 Encountered the symbol when expecting one of the following"


Upgraded oracle database from lower version to


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

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