Topic: Database Administration >> sql for public grants/permissions?
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: sql for public grants/permissions? |
| raja |
Posted: Sep 25, 2007 09:56:21 AM |
Total Post: 4
Joined: Feb, 2007
|
Hi,
could any one please answer to these queries.
1.)what is the difference between normal grants and permissions & public grants and permissions?
2.)what is the sql to find out public permissions/grants in database
|
|
|
parthokonar |
| Posted: Sep 25, 2007 10:34:09 AM | |
|
Total Post: 27
Joined: Sep, 2007
|
Normal Grants concerns mainly to the person to whom the grant is given.
And the public means the privs has to all the users of the database.
as sys 1. Grant create table to scott; means scott can create table on his own schema
2. Grant Create sequence to public; will allow all database users to create sequence.
you can get who has got the privs/rols give grantee='SCOTT' or public
e.g select * from dba_role_privs where grantee='SCOTT'/'PUBLIC';
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 843 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 272 |
| neeraj sharma | 252 |
| Ramesh Jois | 245 |
| Bishal Khetan | 207 |
|
|