Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Trigger Generator for data audit

By G.R.Prithiviraj Kulasingham,

This Procedure generates 3 triggers (for Insert, Update & delete). The purpose of these triggers is to keep a SIMPLE audit trail. Create the table and the procedure in the database to which you want to have the auditing facility. To include a table for auditing run the procedure with Table Name as the parameter.

Total article views: 620 | Views in the last 30 days: 2
 
Related Articles
FORUM

Audit

Audit

FORUM

Store procedure in SQL Audit OnPostExecute, but it executes before finishing the dataflow in SSIS

Store procedure in SQL Audit OnPostExecute, but it executes before finishing the dataflow in SSIS

FORUM
FORUM

Audit

Triggers for audit

 
Contribute