Revoke privilege [message #430355] |
Tue, 10 November 2009 03:25 |
Hitman11
Messages: 94 Registered: October 2009 Location: norway
|
Member |
|
|
Hi all,
How to revoke a privilege (select) from a role 'B'?
Thanks
|
|
|
|
Re: Revoke privilege [message #430385 is a reply to message #430367] |
Tue, 10 November 2009 04:51 |
Hitman11
Messages: 94 Registered: October 2009 Location: norway
|
Member |
|
|
Thanks for your link.
Revoke select from B;
where
select -- privilege
B -- role
Is this revoke command is right ??
Regards,
|
|
|
|
|
|
|
Re: Revoke privilege [message #430393 is a reply to message #430391] |
Tue, 10 November 2009 05:14 |
cookiemonster
Messages: 13952 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Hitman11 wrote on Tue, 10 November 2009 11:08
Im not getting you what you are saying .Im confused.
what is the command then to revoke privilege from role?
Regards,
The syntax was right. The name of the prvilege was wrong.
|
|
|
|
|
|
|
|
|
|
Re: Revoke privilege [message #430529 is a reply to message #430501] |
Tue, 10 November 2009 21:46 |
|
ramoradba
Messages: 2457 Registered: January 2009 Location: AndhraPradesh,Hyderabad,I...
|
Senior Member |
|
|
konark wrote on Tue, 10 November 2009 13:49Hitman , Sriram already gave a nice example to revoke the select priv from a user/role.
You need to repeat the below syntax on all the tables you want.
revoke select on scott.emp from B;
revoke select on scott.tmp from B;
revoke select on scott.sal from B;
revoke select on scott.grade from B; and so on.
Quote:
Re: Revoke privilege Tue, 10 November 2009 05:23
Hitman11
i want to revoke only the particular privilege 'SELECT' or 'EXECUTE' from the role?
is that not possible ?
Regards,
He dont want the examples,solutions,Links.....so on etc.
What we need to post is its "not Possible"
sriram.
[Updated on: Tue, 10 November 2009 21:47] Report message to a moderator
|
|
|
|
Re: Revoke privilege [message #430891 is a reply to message #430557] |
Thu, 12 November 2009 22:32 |
|
ramoradba
Messages: 2457 Registered: January 2009 Location: AndhraPradesh,Hyderabad,I...
|
Senior Member |
|
|
As per the guide lines..
We should give OP some links or some hints...to follow.
littlefoot,cookiemonster and me already given some links to read....
And i have given a test case also ...Again he is asking for Only "select"...IS that not possible?" What should i do that time ? Even after this topic also he is not taking care of reading Oracle manuals.
sriram
[Updated on: Thu, 12 November 2009 22:32] Report message to a moderator
|
|
|