DBA views are returning no rows when queried from withing a stored procedur
My first try in this community. Thanks in advance for any help received.
We've got an stored procedure used to check end user privileges (grant & revoke roles and sys privs) depending on user classification. This procedure is no longer working since upgrade to Oracle11g R2 because I've detected that query over DBA_ROLE_PRIVS (and others) is returning 0 rows in cursor.
This was working fine before. Stored procedure is created in DBA schema (not sys nor system).
How can we recover from previous behaviour?
Thanks in advance.