One of the pitfalls in Oracle is the fact that sometimes you can choose from a table if you run a query in SQLplus, but you cannot execute a query from a stored procedure. To execute a request from a stored procedure, you need a direct grant for the object, not a grant received through the role.
If I see a table in the all_tables view, how can I find out if I can see this table because of a direct grant or because of a role?
oracle
Reene
source share