In order to activate auditing for a table named Tab_YYY owned by say Own_XXX I can use the following query.
AUDIT SELECT, INSERT, UPDATE, DELETE ON Own_XXX .Tab_YYY BY ACCESS WHENEVER SUCCESSFUL;
But suppose I have a Stored PL/SQL Procedure, then how do I activate auditing for this?
I tried the above query but the above query seems to be only for Table and Packages
Is there no way by means of which auditing option can be activated for functions and procedures?
AUDIT SELECT TABLE, INSERT TABLE, DELETE TABLE, EXECUTE PROCEDURE BY ACCESS WHENEVER SUCCESSFUL;
AUDIT EXECUTE PROCEDURE ON schema.procedure BY ACCESS WHENEVER SUCCESSFUL;
Click Here to Expand Forum to Full Width