How do I find out how many tables are on my instance of SQL Server? I can get it for a single schema using select count(*) from sysobjects where type = 'U'
(from how to count number of tables/views/index in my database)
How do I find out how many tables are on my instance of SQL
Share
You’re using the word “schema”, but I think you’re really asking to count tables across all “databases”.