Auditing Status
You can enable or disable the auditing feature by using the database.audit.Enable setting. Use the settings_write_bool procedure to enable/disable the auditing feature.
Oracle or Oracle Autonomous Database Example:
To enable the auditing feature in Oracle or Oracle Autonomous Database, use the following code:
exec settings_write_bool(1,'database.audit','Enabled');
Microsoft SQL Server Example:
To enable the auditing feature in Microsoft SQL Server, use the following code:
exec settings_write_bool 1,'database.audit','Enabled'
Related Topics
SETTINGS_WRITE_STRING Procedure
Last Published Thursday, October 3, 2024