John Huang’s Blog
Archives: October 2012
Inserted and Deleted are One Table?
Inserted and deleted tables are 2 pseudo tables preseting the before and after images of modified rows. They can only be accessed from within triggers. Those two have been around for quite long time but it’s hard to find any articles to tell how they are populated. Some rumors said… Read more
3 comments, 1,020 reads
Posted in John Huang’s Blog on 17 October 2012
Update with UPDLOCK
Do you think it’s a good idea to add UPDLOCK hint to the table which will be modified in an update query? Many people will say NO because it seems to be redundant. But the fact is that sometime it removes deadlocks in your application.
First, let’s prepare our test… Read more
2 comments, 413 reads
Posted in John Huang’s Blog on 10 October 2012



Subscribe to this blog