Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Create Table #Counts(TableName varchar(200), Rows Int)
exec sp_msforeachtable 'Insert Into #Counts(TableName, Rows) Select ''?'' As Table_Name,Count(*) From ?'
Select * From #Counts
Drop Table #Counts
CREATE TABLE TblRowCount(TblName varchar(255) NOT NULL,
RowsCounted int NOT NULL)
sp_MSforeachtable @command1="INSERT TblRowCount SELECT '?' TableName,count(*) from ?"
SELECT * FROM TblRowCount