Solved

granting select on many tables at many schems

Posted on 2011-09-20
6
333 Views
Last Modified: 2012-05-12
we have few developers that will need select on many schemas,
we are not sure which shcema and which tables.
at the same time we do not want to grant select any table what to do?
0
Comment
Question by:it-rex
  • 2
  • 2
6 Comments
 
LVL 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 250 total points
ID: 36568074
Get the list of objects and manually grant select.

If you don't know them and do not want 'any table' your options are limited.
0
 
LVL 15

Accepted Solution

by:
Devinder Singh Virdi earned 250 total points
ID: 36570507
>>we have few developers that will need select on many schemas,
Loging as owner: use appropriate syntax if you are using DBA account
select 'grant select on ' || TABLE_NAME || ' to developer_id ;' from user_tables where table_name in ('TABLE1', 'TABLE2', ....);
Run the above output

>>we are not sure which shcema and which tables.
This is the first info we all need.

0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36574719
Can I ask why you gave full points to the answer you did?

Both posts state that you need to know the schemas and tables before you can do what you want.
0
 
LVL 11

Author Comment

by:it-rex
ID: 36576260
@slightwv
 this was a mistake I need to split these points to both answers;it has been very busy here and I was not paying attention.
I apologize,
0
 
LVL 11

Author Closing Comment

by:it-rex
ID: 36918300
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle Finace 3 67
How to count the number of rows in multiple Oracle Tables 10 64
case statement in where clause with not exist 15 46
case statement in where clause 5 42
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now