I need to view the transaction logs of a database on SQL Server 2008 in order to find a delete transaction and hopefully roll it back.
Unfortunately I have no clue where to start, and I’m finding it difficult to determine which are good articles on Google.
What should I do?
You could use the undocumented
where typeofoutput:
For example, DBCC LOG(database, 1)
You could also try fn_dblog.
For rolling back a transaction using the transaction log I would take a look at Stack Overflow post Rollback transaction using transaction log.