3

My fellow programmers did not think to add timestamps to every tables of our outstanding database.

As a result, some tables seem to be outdated, but it is very difficult to say which ones.

Is there any way to get, for each table, the date/time of the last insert command performed against it?

Tiborg
  • 2,304
  • 2
  • 26
  • 33
Sylvain Rodrigue
  • 4,751
  • 5
  • 53
  • 67

1 Answers1

3

It depends on the version of SQL server you're using. SQL server 2005 or newer you try looking here. If its an older server engine you may be out of luck unless someone was proactive enough to use stored procedures and logged updates.

Community
  • 1
  • 1
Kenneth Cochran
  • 11,954
  • 3
  • 52
  • 117