Can you create a trigger on a field within a table?

Posted by chris on Stack Overflow See other posts from Stack Overflow or by chris
Published on 2010-03-18T17:47:36Z Indexed on 2010/03/18 17:51 UTC
Read the original article Hit count: 346

Filed under:
|

Is it possible to create a trigger on a field within a table being updated?

So if I have:

TableA
  Field1
  Field2
  ....

I want to update a certain value when Field1 is changed. In this instance, I want to update Field2 when Field1 is updated, but don't want to have that change cause another trigger invocation, etc...

© Stack Overflow or respective owner

Related posts about sqlserver-2008

Related posts about trigger