check invalid database link for the DBA
check invalid database link for the DBA
followup of http://laurentschneider.com/wordpress/2017/09/check-invalid-database-link.html If you need to check db link in another schema, you need to create code that run with that schema.
base on the example from yesterday, here is an extended version for the dba
CREATE FUNCTION dba_status (owner VARCHAR2, db_link VARCHAR2) RETURN VARCHAR2 IS PRAGMA AUTONOMOUS_TRANSACTION; status VARCHAR2…
View On WordPress















