I have created a simple database along with an import table and script. The import script automatically assigns a datestamp to the datemod field when it's run. This field is being used to identify which records to print.
Recently, users have asked that the datemod field auto update when they modify records in the table. (they are using an access front end to update the data)
As my boss and I were talking about this, I suggested creating a trigger which would fire when certain columns of the table were updated. However, He seemed to think this was overkill and that there must be a column in SQL (2K5) that is automatically populated when a row is updated on the system, and that we could use that data...
Is this true?
If it is true, where would I find that column?
If it's not true, what's the easiest way to break it to my boss that he's wrong? ;0)
Recently, users have asked that the datemod field auto update when they modify records in the table. (they are using an access front end to update the data)
As my boss and I were talking about this, I suggested creating a trigger which would fire when certain columns of the table were updated. However, He seemed to think this was overkill and that there must be a column in SQL (2K5) that is automatically populated when a row is updated on the system, and that we could use that data...
Is this true?
If it is true, where would I find that column?
If it's not true, what's the easiest way to break it to my boss that he's wrong? ;0)