Sequence Permission in Oracle

Jack picture Jack · Aug 23, 2011 · Viewed 142k times · Source

How can I check a permission granted for particular sequence and assign permission to particular sequence from SQL*Plus. Thank you

Answer

beny23 picture beny23 · Aug 23, 2011

To grant a permission:

grant select on schema_name.sequence_name to user_or_role_name;

To check which permissions have been granted

select * from all_tab_privs where TABLE_NAME = 'sequence_name'