Control on Auditing Database (Data)

Tannx,

A trigger is a function available to you dependent upon your RDBMS vendor – check your documentation for availability and syntax.

Not every implementation is using a BLOB (Binary Large Object) type, for example I’m using SQL Server and we have nvarchar(255) in use, which in other implementation may become a BLOB…

Anyhow, Nick Daniels’ suggestion for a trigger may work, technically, however, in some implementations, the DBA may not want to entertain this type of trigger that would check for instances over three months when an insert operation occurs, especially since Auditor may insert data once every 15 minutes per day – it may be too much overhead to bear. Another approach might be to have a monthly run executed manually each month. Most DBAs have weekly and monthly chores, so adding this to their “to-do” list may not be too much of a problem. If you’d like to see such an example of running a SQL command to trim down the Auditor database using a date factor against the Start_Timestamp, have a look at this thread:

Thanks,
John


jsanzone :us: (BOB member since 2006-09-12)