Count Number of Tables in SQL Server Database

USE YourDatabaseName

SELECT COUNT(*) from information_schema.tables
WHERE table_type = ‘base table’

Leave a comment