Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4888784

Browse files
authored
Update check_sys_grants.sql
1 parent b28c568 commit 4888784

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

source/check_sys_grants.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ begin
1818
select column_value as privilege
1919
from table(l_expected_grants)
2020
minus
21-
select replace(privilege,' ANY ') privilege
21+
(select privilege
2222
from user_sys_privs
23+
union all
24+
select replace(privilege,' ANY ') privilege
25+
from user_sys_privs)
2326
);
2427
if l_missing_grants is not null then
2528
raise_application_error(

0 commit comments

Comments
 (0)