Get The Record Count Of Any Table In SQL ServerArun Kumar10yPublished Jul 26, 2016, 11:36 PMUpdated Jul 27, 2016, 12:26 AM607CodeThis will return the record count of any specific table in SQL Server.-- Approach 1 SELECT rows FROM sysindexes WHERE id = OBJECT_ID('Asset') AND indid < 2 -- Approach 2 select COUNT(1) from Asset