How do I make a query (PL / SQL) to list a specific Package in the database (Oracle)?
How do I make a query (PL / SQL) to list a specific Package in the database (Oracle)?
To list all packages:
SELECT object_name
FROM user_objects
WHERE object_type = 'PACKAGE';
To check if a specific package exists:
SELECT object_name
FROM user_objects
WHERE object_type = 'PACKAGE'
AND object_name = 'NomeDoPackage'