Can anyone fix this buggy Oracle script from doc: 287436.1 for turning on/off audit
Hi Everyone,
This script below seems to be buggy and it does not run, even when I just try the first part of query. It is the decode and the correct use of quotes. Can you help?
Thanks.
Yinhai
-- getaud.sql
--
-- Script to generate (equivalents *) of current AUDIT options
-- and the NOAUDIT statements to remove the current audit options.
--
-- It is intended for DBA's to get insight in current audit options,
-- backup / transfer purposes, can be used to manipulate audit needs
-- by selectively editing the resulting audit_redo.sql and audit_undo.sql