Click here to Skip to main content
15,867,704 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
How we can read sql server transaction logs,i know using dbcc command but row data is in hex format how we can read it in text format.
Posted

Why not just read what all is there in the SQL Server transaction logs and then convert the hex data into desired format in Business layer?

Converting it in SQL would be difficult and tricky.
 
Share this answer
 
To be able get human readable transaction log you need to use some of the tool that decodes transaction log. Here is one transaction log reader tool[^] that can read transaction log and present you complete information stored in transaction log.

Other option is to try with
SQL
fn_dblog
but it also gives data in hex format that’s not really easy to read.

The reason transcation log can’t be read easily is because it’s not really meant to be read but to ensure transaction consitancy.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900