1500万条数据的表select count(*) from tablename要1分分钟左右,下面的语句就非常快了,0.1秒不到就搞定.select Rows as cnt from sysindexes where name="TableName"