I have some triggers that fire when a column in a row is changed to the same value it already contained. In other words the inserted and deleted tables are exactly the same. Is there a low overhead way of checking for no real changes other than by comparing each column in both the inserted and deleted tables?
I have always checked a count of the inserted table before my trigger code, would that evaluate to 0 if no real change? Otherwise when would an inserted table not have any rows during the firing of a trigger?
TIA
I have always checked a count of the inserted table before my trigger code, would that evaluate to 0 if no real change? Otherwise when would an inserted table not have any rows during the firing of a trigger?
TIA