Oracle
 sql >> Database >  >> RDS >> Oracle

Come verificare se esiste una procedura memorizzata?

Alternative:

PROCEDURE_UTENTE:

SELECT *
  FROM USER_PROCEDURES
 WHERE object_name = 'MY_STORED_PROCEDURE'

USER_OBJECTS:

SELECT *
  FROM USER_OBJECTS
 WHERE object_type = 'PROCEDURE'
   AND object_name = 'MY_STORED_PROCEDURE'