Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friend,
I request you to send the logic or source code for audit trail in sql server.
Whenever some changes are made in the critical forms, there should be a trail for it. This will help the company know the changes made from time to time. The tracking of these changes would be through this Audit trail form.

Audit trail should main the previous data and current data (modified data) along with the modified user, time, date etc....
Posted

What I did in my previous project was to insert a script on the stored procedures that will insert to the audit trail table. So if you are using stored procedures, this logic might work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900