January 5, 2006 at 9:37 am
Hello,
MSSQL2000/SP4
I get a different record count when I use Query Analyze (ie: select count(*) from tableX ... and viewing the same tableX using Enterprise Manager's "Table Propoerties ... Rows"??? The numbers are off by a bit???
Any thoughts as to why there is a difference?
Many thanks. Jeff
January 5, 2006 at 11:12 am
Hi...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=19&messageid=187731
if that works....
Regards,
Papillon
January 5, 2006 at 3:09 pm
EM is using sysindexes and therefore does not need to be equal. Try executing
DBCC UPDATEUSAGE (0) on the DB that you are quering and you'll see the numbers match
* Noel
January 6, 2006 at 7:09 am
EM uses sysindexes ... much quicker than a full table scan ie: select count(*) ... i used the DBCC command with success. Thanks noeld.
Many thanks. Jeff
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply