how to grant select privilege to single sequence

Posted on 2009-05-20
Last Modified: 2013-12-18

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.
Question by:gudii9
  • 3
  • 2
LVL 74

Expert Comment

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

Accepted Solution

sdstuber earned 300 total points
ID: 24433990

grant select on schema_xyz.sequence_abc to some_role;


grant select on schema_xyz.sequence_abc to public;
LVL 59

Assisted Solution

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

LVL 59

Expert Comment

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

Author Closing Comment

ID: 31583603
thank you very much
LVL 74

Expert Comment

ID: 24460111
glad we could help.

mwvisa1  - don't worry about it.  posting within 3 minutes is "simultaneous" by my watch.  :)

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle 11g 23 107
Oracle Listener Not Starting 11 53
Sybase and replication server 13 39
Migration from sql server to oracle 5 26
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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 set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

830 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