views:

85

answers:

1

If I have an update statement like this:

UPDATE Message 
   SET Subject = Subject

...will SQL Server actually perform an update or is it smart enough to recognize that no update is really needed?

+1  A: 

Is actually smart enough to recognize that the update is required. There are many more factors at play, a trivial example being triggers.

Remus Rusanu
Makes sense, thanks!
Andrey