January 7, 2011 at 1:49 am
Hi All,
When i execute a simple update statement, updating null values to be 0 (zero) in a single column of a table, i am receiving two seperate "(x rows affected)" statements.
There are no triggers set up on this table.
Does anyone have any idea how i can identify what is causing this second operation?
January 7, 2011 at 1:53 am
Do you have the execution plan on? Normally it would be triggers.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 7, 2011 at 1:57 am
Thanks very much, i did indeed have the "include execution plan" option selected and it was this which was creating the extra output message.
January 7, 2011 at 4:38 am
GilaMonster (1/7/2011)
Do you have the execution plan on? Normally it would be triggers.
Interesting... I didn't know this. I was immediately thinking triggers myself.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply