?
Solved

how to grant select privilege to single sequence

Posted on 2009-05-20
6
Medium Priority
?
7,142 Views
Last Modified: 2013-12-18
Hi,

I would like to grant the 'select' privilege to a sequence say sequence_abc within a schema say schema_xyz. Any links, ideas, sample code, resources highly appreciated. Thanks in advance.
0
Comment
Question by:gudii9
[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
  • 3
  • 2
6 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 24433985
grant select on schema_xyz.sequence_abc to some_user;
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 1200 total points
ID: 24433990
or

grant select on schema_xyz.sequence_abc to some_role;

or

grant select on schema_xyz.sequence_abc to public;
0
 
LVL 60

Assisted Solution

by:Kevin Cross
Kevin Cross earned 800 total points
ID: 24434009
grant select on sequence_abc to {username}

(http://p2p.wrox.com/oracle/23287-sequence-grant-oracle.html)
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 60

Expert Comment

by:Kevin Cross
ID: 24434024
Didn't see your response, Sean, or I would not have posted. :)
0
 
LVL 7

Author Closing Comment

by:gudii9
ID: 31583603
thank you very much
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 24460111
glad we could help.

mwvisa1  - don't worry about it.  posting within 3 minutes is "simultaneous" by my watch.  :)
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

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…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
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.

649 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