How can a Table's Last Modified date be returned in SQL Server 2005?
I did see one on the Table Properties page. There is a Created Date but no Modified date.
If it is not available, what would be some other ways to add this functionality?
Here are a few that come to mind:
- Add another column, to the table, that a trigger would update whenever the record was added or changed. The one con, to this approach, is Deletes would not be tracked.
- Add another table (TableModifiedDate) that would contain a Table Name and Modified Date. Then add a trigger to the tables that you want to track which will update TableModifiedDate.