Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Wednesday, October 4, 2017

sp_msforeachdb

SQLServerCentral » Latest topics
sp_msforeachdb
Hi,

Can you suggest some T-SQL code  to automate so that a script say select * from employee can be run on about 200 databases in a sql server instance and output mailed via a csv file?

 I would like to use a sproc and then use

No comments: