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;
Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.