My Oracle Support Banner

ORA-1031 While Creating A View On A Table On Which The Select Privilege Is Granted Via A Role (Doc ID 271587.1)

Last updated on FEBRUARY 23, 2023

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.
 


Symptoms

While trying to create a view on a table for which the select privilege is granted via a role the following error occurs:

This fails with SYSTEM user creating view on dba_free_space as well. (Explicitly Grant SELECT on view to SYSTEM to make it Work.)

 

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.