Database Administration (MOSC)

MOSC Banner

Revoking Privileges based on a Grantor

edited May 23, 2014 11:14AM in Database Administration (MOSC) 2 commentsAnswered ✓

Greetings -

I have a user, lets call him [MIKE] who has some privileges he needs to keep and others needs to be revoked. But since he has too many privileges and since I know the [GRANTOR] name which is [SMITH], I wanted to see if there is a quick way to revoke all privileges - I don't care what privileges they are as long as they were granted by [SMITH] to [MIKE] and not to touch any other privileges..

It would be very helpful If I can put this into a dynamic script so I can inspect what it is going to happen before I run the revoke query..

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