I want to be able to retrieve the date that a value was updated. Is this possible? We have a training database and people eventually go inactive when they leave our organisation. But this is just a simple boolean column. I was hoping to use a WHERE statement that only retrieves values that are ‘inactive’ and where this value was only updated after a certain date?
Is that possible?
No, unless you’re recording the date somewhere.
That said, you might be able to access the transaction log. See here: http://searchsqlserver.techtarget.com/tip/View-SQL-Server-transaction-logs-using-DBCC