My Oracle Support Banner

How To Grant "SELECT ANY TABLE" Without Some Schemas (Doc ID 3013576.1)

Last updated on JUNE 26, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Gen 2 Exadata Cloud at Customer - Version N/A and later
Information in this document applies to any platform.

Goal

Granting schema privileges for SELECT ANY TABLE and other system privileges is available in DB23ai.
With prior database versions, you have the option of using SELECT ANY TABLE which allows select on every non-catalog table or SELECT direct object privilege which needs to be granted table by table.
The SELECT ANY PRIVILEGE may be too powerful so direct object privileges would be needed. To more efficiently grant direct object privileges, use the script below.

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.