DB2: See privileges for procedures

 select substr(t1.schema,1,5) as schema

    , substr(t2.routinename,1,30) as unqualname    , substr(t1.specificname,1,30) as qualname    , substr(t1.grantee,1,20) as who    , t1.granteetype as typefrom syscat.routineauth as t1inner join syscat.routines as t2    on t1.specificname = t2.specificnamewhere t1.schema = 'WCS'    and t1.routinetype = 'P'
order by unqualnamewith ur

Comments

Popular posts from this blog

Oracle: To clean up WRI$_ADV_OBJECTS