BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
FIG. 1 is a flowchart illustrating the steps involved in an exemplary process of creating and executing a build trigger that exists on a sole informational table, in accordance with an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an exemplary process of constructing and executing an audit trigger comprising a designations table to hold source table names and a rules table to hold rules that dictate how the trigger is constructed, in accordance with an embodiment of the present invention;
FIGS. 3 through 6 illustrate an exemplary system for automatically building audit triggers on a database, in accordance with an embodiment of the present invention. FIG. 3 shows an exemplary process that occurs when a programmer alters information in either the designations table or the rules table and causes one or more audit triggers to be built on the source tables of the audit operation. FIG. 4 shows an exemplary process that occurs when a user alters data in an audited table that contains an audit trigger built by the process shown by way of example in FIG. 3. FIG. 5 shows an exemplary process that occurs when a programmer alters the information in either the designations table or the rules table and causes the maintenance procedure to be built or rebuilt; and
FIG. 6 shows an exemplary process that occurs when a maintenance procedure is scheduled that archives audit data, discards audit data or both.