Getting the tables in all the databases at one time.
By running the below system stored procedure we can get the tables in all the database in the server
sp_msforeachdb @command1='USE ?;SELECT * FROM sys.Tables'
sp_msforeachdb @command1='USE ?;SELECT * FROM sys.Tables'
Comments