读取SQL Server 2008中的日志文件(* .LDF) [英] Read the log file (*.LDF) in SQL Server 2008

查看:584
本文介绍了读取SQL Server 2008中的日志文件(* .LDF)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种读取 SQL Server 2008 日志文件的方法,不是显示信息,而是读取符号的含义和LOG表的结构.我正在使用DBCC LOG('my_table', 3).

I'm searching for a way to read the SQL Server 2008 log file, not to show the information, but to read the meaning of the symbols and the structure of the LOG table. I'm using DBCC LOG('my_table', 3).

推荐答案

在此Stackovernage帖子中查看我的答案:

See my answer in this Stack Overflow post: How can I view SQL Server 2005 Transaction log file

使用此命令:

Select * from ::fn_dblog(null,null)

有关更多信息,请参见

And for more information, see How Do You Decode A Simple Entry in the Transaction Log.

这篇关于读取SQL Server 2008中的日志文件(* .LDF)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆