Home All Groups Group Topic Archive Search About

Problem in using fn_dblog()

Author
23 Jul 2005 2:55 PM
Pushkar
Hi,

I am using ::fn_fblog() function to read my on line transaction log.

I am excuting the below query
select * from ::fn_dblog(null,null).

But in [Row Data] I am just getting 0x value and neither I am getting any value for [Old Value] and [New Value] column.
I am reading this online log for some update operation on my table.

Can some help me how to get these values through ::fn_dblog().

I don't want use dbcc log command to because in that I can not directly fire the SQL select query and specify some filter.

Any help is appreciated.

Thanks in advance

Pushkar

Author
23 Jul 2005 3:02 PM
Aaron Bertrand [SQL Server MVP]
Have you considered using a 3rd party tool for this?
Reading the log yourself is definitely not a trivial undertaking...
http://www.aspfaq.com/2449




"Pushkar" <pushkartiw***@gmail.com> wrote in message
news:%23gi7Ka5jFHA.2644@TK2MSFTNGP09.phx.gbl...
Hi,

I am using ::fn_fblog() function to read my on line transaction log.

I am excuting the below query
select * from ::fn_dblog(null,null).

But in [Row Data] I am just getting 0x value and neither I am getting any
value for [Old Value] and [New Value] column.
I am reading this online log for some update operation on my table.

Can some help me how to get these values through ::fn_dblog().

I don't want use dbcc log command to because in that I can not directly fire
the SQL select query and specify some filter.

Any help is appreciated.

Thanks in advance

Pushkar

AddThis Social Bookmark Button