My Oracle Support Banner

How to audit dropping a procedure (Doc ID 2233153.1)

Last updated on JANUARY 25, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


Is it possible to audit the DROP PROCEDURE command? When i try to enable this (via AUDIT DROP PROCEDURE), i get an ORA-956: missing or invalid auditing option. Further, when i query the stmt_audit_option_map, I don't see DROP PROCEDURE listed. I do see DROP ANY PROCEDURE, but not DROP PROCEDURE. Our security folks want me to enable this option and they seem to think AUDIT DROP PROCEDURE should work, so i'm trying to figure out why it doesn't.


 Customer had a mandate to introduce auditing to catch any alterations to procedures including drop of a procedure


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.