Solved

granting select on many tables at many schems

Posted on 2011-09-20
6
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 77

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 77

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to recover a database from a user managed backup

710 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