This commit is contained in:
Jan Kvetina 2022-03-14 21:59:47 +01:00
parent d701fb38a3
commit 727c260a9d

View File

@ -4044,12 +4044,8 @@ CREATE OR REPLACE PACKAGE BODY app AS
t.view_name AS name,
app.get_long_string('ALL_VIEWS', 'TEXT', 'VIEW_NAME', t.view_name, in_owner => t.owner) || ';' AS text
FROM all_views t
JOIN (
SELECT DISTINCT
a.owner
FROM apex_applications a
) a
ON a.owner = t.owner
JOIN lov_app_schemas s
ON s.owner = t.owner
WHERE t.owner = NVL(in_owner, t.owner)
) LOOP
INSERT INTO obj_views_source (owner, name, line, text)