![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
On Fri, 29 Jun 2007 07:28:03 -0700, teddysnips (AT) hotmail (DOT) 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 |
#4
| |||
| |||
|
|
Roy Harvey wrote: On Fri, 29 Jun 2007 07:28:03 -0700, teddysnips (AT) hotmail (DOT) 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? |
![]() |
| Thread Tools | |
| Display Modes | |
| |