You are here: Re: Mismatch between Count(*) and Properties -> Rows « MsSQL Server « IT news, forums, messages
Re: Mismatch between Count(*) and Properties -> Rows

Posted by Ed Murphy on 06/30/07 01:53

Roy Harvey wrote:

> On Fri, 29 Jun 2007 07:28:03 -0700, teddysnips@hotmail.com wrote:
>
>> SELECT COUNT(*) AS NumRows FROM Answer
>>
>> It returned 1,919,456. However, if I click on the Answer table in
>> Enterprise Manager and select Properties it tells me that there are
>> 1,919,421 rows. I've tried doing a refresh but it didn't work.
>
> Those statistics are not always accurate. To fix them run
>
> DBCC UPDATEUSAGE(0) WITH COUNT_ROWS

Is it COUNT(*) or EM - Properties that is sometimes inaccurate? Under
what circumstances may it be inaccurate?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация