Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating audit trails ( database activity logs of users)
Message
De
30/08/2004 11:21:47
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00934766
Message ID:
00937639
Vues:
22
>Thanks for the reply Kevin,
>i've examinated your sample . would you like to write here sample insert_update_delete_trigger code for northwind database customers table for all columns and structure of log table ?
>
>TIA

Here are some sample audit trail triggers:

http://www.nigelrivett.net/AuditTrailTrigger.html

Here is a script that will generate audit triggers for you:

http://www.nigelrivett.net/GenerateTriggerForAudit.html

Here is a script of a generic auditor SP that can be used on all tables:

http://www.nigelrivett.net/AuditTrailTrigger.html

He also has alot of other good SQL stuff on his web site.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform