dbTalk Databases Forums  

Negative values for RowModCtr col in sysobjects tbl

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Negative values for RowModCtr col in sysobjects tbl in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
luke
 
Posts: n/a

Default Negative values for RowModCtr col in sysobjects tbl - 05-17-2005 , 03:24 PM






Could anyone, please, explain to me why I have negative values in
RowModCtr column in sysobjects table? I have tested that after I update
statistics the RowModCtr column is reset to 0. But why do I have
negative values in the first place? Thx.


Reply With Quote
  #2  
Old   
Simon Hayes
 
Posts: n/a

Default Re: Negative values for RowModCtr col in sysobjects tbl - 05-17-2005 , 07:52 PM






"luke" <svatik (AT) hotmail (DOT) com> wrote

Quote:
Could anyone, please, explain to me why I have negative values in
RowModCtr column in sysobjects table? I have tested that after I update
statistics the RowModCtr column is reset to 0. But why do I have
negative values in the first place? Thx.

No idea; and I guess you mean sysindexes, not sysobjects? But Books Online
says that the value should be correct since the last time the statistics
were updated (see "sysindexes"), so you might want to look at
"sp_updatestats" and "update statistics". See also p.848 of "Inside SQL
Server 2000", which mentions rowmodctr, and says that when you update
statistics, it's set to zero.

If this doesn't help, I suggest you give some more details - what version of
MSSQL, why the sysindexes value is a problem for you etc.

Simon




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.