| NOAUDIT (Schema Objects) |
NOAUDIT object_option[,object_option ...]
ON {[schema.]objectname | DIRECTORY directory_name | DEFAULT}
[WHENEVER [NOT] SUCCESSFUL] |
Stops auditing defined by a prior AUDIT statement for schema objects.
Keywords
object_option
Indicates that auditing on a particular operation will be stopped. The following operations are valid: ALTER, AUDIT, COMMENT, DELETE, EXECUTE, GRANT, INDEX, INSERT, LOCK, RENAME, SELECT, and UPDATE. The keyword ALL is equivalent to specifying all of the operations.
object_name
Specifies the name of the schema object for which auditing will be stopped.
DIRECTORY
Specifies the name of a directory for which auditing will be stopped.
DEFAULT
Specifies that no auditing will be performed as the default for objects that have not yet been created for the specified object option.
WHENEVER SUCCESSFUL
Turns off auditing only for SQL statements that complete successfully.
WHENEVER NOT SUCCESSFUL
Turns off auditing only for SQL statements that fail or result in errors.
Examples
Turn off auditing for any UPDATE statement issued for scott's bonus table:
NOAUDIT UPDATE ON scott.bonus;
Turn off auditing for any unsuccessful operation on scott's emp table:
NOAUDIT ALL ON scott.emp WHENEVER NOT SUCCESSFUL;
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access