The Table Info tab in the Taskpad view reports zero rows for some non-empty tables in SQL Server 2000 (326968)



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions) SP2

This article was previously published under Q326968
SHILOH_BUGS:356722

SYMPTOMS

In Microsoft SQL Server 2000, the row count for some non-empty tables is reported as zero in the Taskpad view in SQL Server Enterprise Manager.

CAUSE

This problem occurs because the query that is used by the Taskpad view component to obtain the row count for tables that do not have a clustered index reads the row count value out of the first index or statistics (whichever comes first when they are alphabetically sorted) that are created on the table. If a statistics entry comes first, its value for the column that is named rows in the sysindexes system table is always zero, and that value is displayed in the Taskpad view.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

MORE INFORMATION

To open the Taskpad view for a database, follow these steps:
  1. Right-click the database, click View, and then click Taskpad.
  2. In the right pane, click the Table Info tab.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article. This problem was first corrected in SQL Server 2000 Service Pack 3.

Modification Type:MajorLast Reviewed:4/6/2004
Keywords:kbbug kbfix KB326968 kbAudDeveloper