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
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:
Post a Comment