BUG: IF UPDATED Returns TRUE in a Trigger (70851)



The information in this article applies to:

  • Microsoft SQL Server 4.2x

This article was previously published under Q70851
BUG# NT:  890 (4.2)
		

SYMPTOMS

After a trigger using the IF UPDATED(colName) clause was created, an attempt to update the column colName, even if the update statement does not actually affect any rows, will cause the statements in the IF UPDATED block to be executed.

CAUSE

IF UPDATED returns TRUE for columns, regardless of whether the value has been changed.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 4.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MinorLast Reviewed:2/14/2005
Keywords:kbProgramming KB70851