Re: Wrong number of rows
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 01/31/05
- Next message: Andrew J. Kelly: "Re: Determine Disk Block Size ?"
- Previous message: Michael C: "Re: Wrong number of rows"
- In reply to: Vik: "Wrong number of rows"
- Next in thread: Sasan Saidi: "RE: Wrong number of rows"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 31 Jan 2005 18:38:15 +0100
This information most probably comes from the sysindexes table (see the documentation) and the
information in sysindexes isn't guaranteed to be up-to-date. This is a known fact in SQL Server. To
get 100% accurate row count, do SELECT(*).
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ http://www.sqlug.se/ "Vik" <viktorum@==hotmail.com==> wrote in message news:OCHuMl7BFHA.3376@TK2MSFTNGP12.phx.gbl... > In a table properties window, a number of rows is 2 rows more than the actual number of rows in > the table, returned by COUNT(*) and counted manually. How could this happen? Is the table > corrupted? > > Thank you. > > > >
- Next message: Andrew J. Kelly: "Re: Determine Disk Block Size ?"
- Previous message: Michael C: "Re: Wrong number of rows"
- In reply to: Vik: "Wrong number of rows"
- Next in thread: Sasan Saidi: "RE: Wrong number of rows"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|