Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Problem using COUNT(*)

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-09-28 : 10:04:52
Amin writes "Is it possible for record count to differ every 2 or 3 days when the code executes the following SQL query

"SELECT COUNT(*) FROM tablename"
OR
"SELECT COUNT("Fieldname") FROM tablename"?

I mean its happening in one of our applications.
We have a statistics page which shows the number of records added by users...suppose today one user has say 400 records...after 2 days i check up and it shows 390 or anything lesser than 400..

Pls help.

Thanks in advance.

Regards."
   

- Advertisement -