Topic: User Administration >> granting select access to user on schemas objects
|
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: granting select access to user on schemas objects |
| tanuja |
Posted: May 17, 2007 12:50:06 PM |
Total Post: 1
Joined: Feb, 2007
|
| How do i give select access on all tables of a perticular schema. |
|
|
Nand |
| Posted: Jun 11, 2007 05:27:36 AM | |
|
Total Post: 22
Joined: Jun, 2007
|
first you need to get the list of tables in that particular schema. and then grant select privilege.
you can write something like this;
select 'grant select on '|| table_name ||' to user'|| from dba_tables where owner='schema owner';
replace user with the name of the user who will get the select privileges.
Nand
|
|
|
|
|
| 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 | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 242 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|