0
kicks
SQL Server: Applying Filter on sp_MSforeachDB
Working on multiple databases on a single instance, sometime you need to execute a query for each database and for that sp_MSforeachdb is the best choice. BUT a wast majority of SQL Server user don't know how to apply filter on sp_MSforeachdb.