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'

Comments

Popular posts from this blog

Always On FailOver Events

The transaction log for database is full due to 'OLDEST_PAGE'

SSAS Cube or Database backup with Powershell command "Backup-AsDatabase"