首先非常感谢zjcxc! 我就是使用Log Explorer发现的,在显示View log时,如果是update的记录,会首先在下面显示old(delta)和new(delta),然后,按Reconstuct按钮,才显示实际的old和new的值。 比如:我有下面的情况 create table t1(a int,b datetime) insert into t1(1,'2007-05-01') update t1 set b='2007-06-01' where a=1 然后,我在Log Explorer的view log中发现update的这条操作,首先显示 old(delta) new(delta) 1900-02-03 1900-03-06 按Reconstuct按钮后,显示 old new 2007-05-01 2007-06-01 我看了Log Explorer的帮助: “In the case of an Update operation, SQL Server stores the old and new data as delta values that are computed based on the previous row" 很不明白delta如何计算的? 还请zjcxc能指点一二,非常感谢
有zjcxc(邹建)前輩在此,站在一邊學習
我就是使用Log Explorer发现的,在显示View log时,如果是update的记录,会首先在下面显示old(delta)和new(delta),然后,按Reconstuct按钮,才显示实际的old和new的值。
比如:我有下面的情况
create table t1(a int,b datetime)
insert into t1(1,'2007-05-01')
update t1 set b='2007-06-01' where a=1
然后,我在Log Explorer的view log中发现update的这条操作,首先显示
old(delta) new(delta)
1900-02-03 1900-03-06
按Reconstuct按钮后,显示
old new
2007-05-01 2007-06-01 我看了Log Explorer的帮助:
“In the case of an Update operation, SQL Server stores the old and new data as delta values that are computed based on the previous row"
很不明白delta如何计算的?
还请zjcxc能指点一二,非常感谢