diff --git a/source/check_sys_grants.sql b/source/check_sys_grants.sql index 863727f00..e16869e54 100644 --- a/source/check_sys_grants.sql +++ b/source/check_sys_grants.sql @@ -18,8 +18,11 @@ begin select column_value as privilege from table(l_expected_grants) minus - select privilege + (select privilege from user_sys_privs + union all + select replace(privilege,' ANY ') privilege + from user_sys_privs) ); if l_missing_grants is not null then raise_application_error(