align query for grants regarding system objects
This commit is contained in:
parent
47d402eced
commit
c9edbb1609
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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)
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user