Oracle Error ORA-32595: DDL statement cannot be audited with BY SESSION specified

Oracle Error Message

ORA-32595: DDL statement cannot be audited with BY SESSION specified

Reason for the Error

An attempt was made to audit a DDL statement with BY SESSION clause specified. DDL statements can be audited BY ACCESS only.

Solution

Specify BY ACCESS instead of BY SESSION to audit the DDL statement.