query to count rows code example
Example 1: sql query to get the number of rows in a table
SELECT COUNT(*) FROM tablename
Example 2: how to count number of rows in sql
SELECT COUNT(*)
FROM dbo.bigTransactionHistory;
SELECT COUNT(*) FROM tablename
SELECT COUNT(*)
FROM dbo.bigTransactionHistory;