align query for grants regarding system objects

This commit is contained in:
Ottmar Gobrecht 2020-11-29 06:26:08 +01:00
parent 47d402eced
commit c9edbb1609
3 changed files with 6 additions and 4 deletions

View File

@ -2561,7 +2561,8 @@ SELECT DISTINCT
'{{BASE_PATH_APP_BACKEND}}/grants/' || p.privilege || '_on_' || p.table_name || '.sql' AS file_path
FROM user_tab_privs p
JOIN user_objects o ON p.table_name = o.object_name
WHERE (#NAME_LIKE_EXPRESSIONS#)
WHERE table_name not like 'SYS_PLSQL%'
AND (#NAME_LIKE_EXPRESSIONS#)
AND (#NAME_NOT_LIKE_EXPRESSIONS#)
ORDER BY
privilege,

View File

@ -1920,7 +1920,8 @@ SELECT DISTINCT
'{{BASE_PATH_APP_BACKEND}}/grants/' || p.privilege || '_on_' || p.table_name || '.sql' AS file_path
FROM user_tab_privs p
JOIN user_objects o ON p.table_name = o.object_name
WHERE (#NAME_LIKE_EXPRESSIONS#)
WHERE table_name not like 'SYS_PLSQL%'
AND (#NAME_LIKE_EXPRESSIONS#)
AND (#NAME_NOT_LIKE_EXPRESSIONS#)
ORDER BY
privilege,

View File

@ -48,8 +48,8 @@ begin
ptmd_timestamp timestamp ,
ptmd_timestamp_tz timestamp with time zone ,
ptmd_timestamp_ltz timestamp with local time zone ,
ptmd_interval_day_to_second interval day to second ,
ptmd_interval_year_to_month interval year to month ,
ptmd_interval_day_to_second interval day (2) to second (6) ,
ptmd_interval_year_to_month interval year (2) to month ,
--
primary key (ptmd_id)
)