To see the transaction LOG(.ldf file of DB)

  • Dear All

    Is it possible to see the transaction LOG(.ldf file of DB).If yes then how?

    Thanks

  • See its contents?

    Sure.

    SELECT * FROM fn_dblog(null, null)

    It's not exactly what I'd call human readable though.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanx GilaM..

    But please tell me wat is fn_dblog?

    Thanks

  • It's a built-in function that returns a resultset of the records currently in the transaction log.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanx GilaMonster....Thanx

    Thanks

Viewing 5 posts - 1 through 4 (of 4 total)

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