Forum Discussion
toukui
Apr 22, 2021Copper Contributor
How to query the content of LDF file in SQL Server
How to query the content of LDF file in SQL Server though sql sentence
- olafhelperBronze Contributor
Hello,
There is no supported way to read the content of the log file (LDF), that's omething completley internal.
But there is the unsupported function fn_dbog:
SELECT COUNT(*) FROM fn_dblog(null,null)
- toukuiCopper Contributor
thanks,guys.But is the result of this SQL query the whole content of the log?olafhelper