count tsql code example Example: how to count number of rows in sql Click to copySELECT COUNT(*) FROM dbo.bigTransactionHistory;