Enterprise Manager Table Properties - Record Count Different??

  • 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

  • Hi...

     

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=19&messageid=187731

     

    if that works....


    Regards,

    Papillon

  • 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

  • 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