How-to-simply...

Get approximate count of rows (fast) in SQL Server

  • 1 SELECT SUM(Rows) FROM sys.partitions WHERE 1=1 AND index_id IN (0,1)
    AND OBJECT_ID=OBJECT_ID('[ReplaceWithYourTableName]')

References