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…
This seems to solve my problem:
Update:
As pointed out in the comments, this is generally a bad idea, since it would updated EVERY SINGLE ROW, which is probably not what you want. In this particular case, however, there will only ever be one row, which is just used to store the timestamp and flag field.