Click here to Skip to main content
15,896,502 members
Articles / Database Development / SQL Server

Counting All Rows of All Tables in a Database

Rate me:
Please Sign up or sign in to vote.
4.11/5 (4 votes)
28 Sep 2015CPOL 14.1K   4  
This tip shows three alternatives (an intuitive and less efficient, a more efficient one and a third more efficient one) to count all rows of all tables in a database.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Portugal Portugal
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions