count number of grants in a role

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raknunna
    New Member
    • Sep 2014
    • 1

    count number of grants in a role

    Hi,

    Please provide a query to find "count(*num ber) of grants in a role. we have a role ALPHA_ROLE and I just want count of only select grants existing in the role. Can someone help.

    Thanks in advance.

    Rakesh N.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    We would need more information about the tables, fields, and relationships involved. Right now, there's not much to work with.

    Comment

    • premkumar sp
      New Member
      • Nov 2010
      • 4

      #3
      Try this
      Select count(*) from dba_tab_privs where privilege='SELE CT' and grantee='<rolen ame>'

      Comment

      Working...