Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Very Important crosS Applying yaK Herder

52326 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
 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.13 seconds. Powered By: Snitz Forums 2000