SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 difficult Trigger to record an insertion
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Very Important crosS Applying yaK Herder

52325 Posts

Posted - 10/29/2013 :  00:00:20  Show Profile  Reply with Quote
But I see that does not work when you modify the row, ie when the row is updated, the trigger does nothing
It wont as its written only for INSERT
If you want to handle updates also you need to define trigger for both INSERT and UPDATE
Suggest you to learn about triggers by reading below link


SQL Server MVP
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000