Database Administration (MOSC)

MOSC Banner

DBA views are returning no rows when queried from withing a stored procedur

edited Mar 12, 2012 1:53AM in Database Administration (MOSC) 7 commentsAnswered ✓
Hi friends,

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center