Oracle PL/SQL/User Previliege/AUDIT — различия между версиями

Материал из SQL эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 13:45, 26 мая 2010

Turning Auditing Off

 
NOAUDIT SESSION;
NOAUDIT DELETE ANY TABLE BY userName WHENEVER NOT SUCCESSFUL;
NOAUDIT DELETE ANY TABLE BY userName;



Turning Auditing On in the Database

 

AUDIT SELECT ON employees;
AUDIT DELETE ANY TABLE BY userName WHENEVER NOT SUCCESSFUL;
AUDIT UPDATE ANY TABLE;
AUDIT SESSION BY UserName;
AUDIT SELECT,INSERT,UPDATE,DELETE
ON employees BY ACCESS WHENEVER SUCCESSFUL;

--