You can get an approximate count from the sysindexes system table. For
example:
SELECT rows
FROM sysindexes
WHERE id = OBJECT_ID(N'MyTable') AND indid IN(0,1)
The count will be reasonably accurate if you've recently run DBCC
UPDATEUSAGE. However, COUNT is the only accurate method.
--
Hope this helps.
Dan Guzman
SQL Server MVP
[quoted text, click to view] "Arpan" <arpan_de@hotmail.com> wrote in message
news:1129428215.983541.5150@g43g2000cwa.googlegroups.com...
> Apart from using COUNT, are there any other ways to find the total no.
> of records existing in a DB table?
>
> Thanks,
>
> Arpan
>