Object-level auditing allows selective auditing of objects for specific data manipulation language (DML) statements, such as SELECT, UPDATE, DELETE, and INSERT, on a given table. Object-level auditing also lets you include or exclude specific groups by specifying (@) or (-) with the edb_audit_statement parameter. For more information about DML statements, see Selecting SQL statements to audit.
Use the following syntax to specify an edb_audit_statement parameter value for SELECT, UPDATE, DELETE, or INSERT statements:
Example
In this example, edb_audit_connect and edb_audit_statement are set with the following non-default values:
The SQL statements invoked by the SELECT, INSERT, UPDATE, and DELETE commands are audited.
The following is the database session that occurs: