formatage SQL

This commit is contained in:
Yacine31
2024-02-10 02:30:28 +01:00
parent 2d51059e6c
commit a4bc29b998
35 changed files with 538 additions and 401 deletions

View File

@@ -1,3 +1,13 @@
prompt <h2>Invalid objects</h2>
select owner, count(*) "invalid objects" FROM dba_objects WHERE status <> 'VALID' group by owner order by owner;
exit
SELECT
OWNER,
COUNT(*) "invalid objects"
FROM
DBA_OBJECTS
WHERE
STATUS <> 'VALID'
GROUP BY
OWNER
ORDER BY
OWNER;