Skip to content

Commit

Permalink
add ObjectName to db-objects-synonym-public
Browse files Browse the repository at this point in the history
  • Loading branch information
misolt committed Jul 1, 2024
1 parent 3a66956 commit 4520c71
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ SELECT
'PUBLIC' "Owner",
'SYNONYM' "ObjectType",
B.editionable "Editionable",
B.object_name "ObjectName",
-- This looks similar to filtering with WHERE and using count() instead of sum().
--
-- It is not similar. DB will see the LIKE inside a WHERE predicate and decide to
Expand Down Expand Up @@ -49,4 +50,7 @@ LEFT JOIN (
AND B.con_id = D.con_id
WHERE D.table_owner IS NULL
AND B.owner = 'PUBLIC'
GROUP BY B.con_id, B.editionable
GROUP BY
B.con_id,
B.editionable,
B.object_name

0 comments on commit 4520c71

Please sign in to comment.