My Oracle Support Banner

ORDS: Oracle Database may Report 'ORA-01031: insufficient privileges' Error for Queries that Involve CURSOR Expressions (Doc ID 3002906.1)

Last updated on FEBRUARY 08, 2024

Applies to:

Oracle REST Data Services - Version 21.4 and later
Information in this document applies to any platform.

Symptoms

 Oracle Database may report 'ORA-01031: insufficient privileges' for queries that involve CURSOR expressions.

In a number of cases, ORDS executes queries which include a CURSOR expression. An issue has been found executing these queries for some schemas in Oracle 18c and Oracle 19c databases. Depending on the roles and privileges involved, the issue does not occur for all schemas, which can give the impression that the issue is intermittent.

Cause

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
Symptoms
Cause
Solution
References


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