ORA-01791 on table with Data Redaction policy, even with EXEMPT REDACTION POLICY privilege

(Doc ID 2113175.1)

Last updated on APRIL 16, 2017

Applies to:

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

Symptoms

Queries on redacted columns, issued by users who are exempt from redaction (via EXEMPT_REDACTION_POLICY privilege), fail with:

ORA-01791: not a SELECTed expression

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms