My Oracle Support Banner

ORA-28113 When A Policy Predicate Is Fetched From A Context (Doc ID 331862.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 8.1.7 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Checked for relevance on 27-Aug-2010


ORA-28113 is returned intermittently from your application. You follow the diagnostic steps in note 250094.1

and you discover from the trace file the predicate is truncated at about 256 characters. For example you get the error

ORA-01756: quoted string not properly terminated

Or any other SQL syntax error resulting from the truncate of the predicate string.


In the design of your policy function, you derive the value of the predicate string directly from a namespace (context) with a construct similar to the following:



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.