Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a project with 10 Tables out of which I have used 2 tables to store successful and failed logins.I want to store all the changes say insertion,updation,deletion on the remaining 8 tables and map all these modifications to a separate table.Is this possible to achieve without using Change Data Capture or Change Tracking? can this be achieved by writing a separate stored procedure.?

Please suggest

Thanks
Posted

1 solution

yes you can write triggers for each table

here you refer to below link

CREATE TRIGGER [^]

Triggers -- SQL Server[^]
 
Share this answer
 
v2
Comments
vivek murli 20-Nov-14 6:00am    
Thanks a lot :)
Shweta N Mishra 20-Nov-14 6:14am    
Please mark the solution as accepted of that helped you.
vivek murli 20-Nov-14 23:14pm    
Done ;)
Shweta N Mishra 21-Nov-14 3:30am    
Thank You.

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