Is there a way to query SQL Server logs to see when DML occurred?

  • Hi,

    Is there any way in SQL Server 2005 to query the transaction logs to see when a user executed a DML statement? I had a user delete some data, and I would like to have restored it to just before the delete statement was executed. This would be something similar to Oracle's Log Miner.

    Thanks,

    Steve

  • If the database is in Full recovery mode, then yes. ApexSQL and Lumigent both publish log parsers that can read SQL 2005 transaction logs.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply