Hi,
The transaction log file is not intended for direct reading by users but for internal use. What you are asking is a level 500 actions (internals) and it is not officially supported.
With that said, it can be done using an undocumented functions/commands like DBCC log, fn_dblog(), fn_dump_dblog(), fn_full_dblog()
You can find several posts in my blog about using these functions.
If you are registered to the PASS Summit then I highly recommend to watch the recording to my session. This was exactly the topic I spoke about.
You can see the promo of the session here: https://www.facebook.com/ronen.ariely/videos/793222385150305
To watch the recording and download all the demo code you can follow this:
(1) Check the list of speakers speakers: https://passdatacommunitysummit.com/speakers/all-speakers
(2) Search: Ronen
(3) Click the speaker name to see the session information
- I think that only people that were registered to the vent can download it.
----------
Ronen Ariely
Personal Site | Blog | Facebook | Linkedin