October 28, 2014 at 4:31 am
Hi All- I need to run a piece of code against 50 databases, each on separate SQL servers - Pretty daunting task! - The database name with always be the same but the servers names will be different. This is going to be a common exercise in the future therefore I want to develop/download a program to manage this requirement in an automated fashion. Does anyone know of anything/any advice they can kindly hand over. Thanks!
--------------------------------------------
Laughing in the face of contention...
October 28, 2014 at 4:49 am
Powershell could be the right tool for this job.
See an example here: http://sethusrinivasan.wordpress.com/2012/01/11/powershell-script-to-run-query-against-many-servers-and-send-combined-output-as-email/
-- Gianluca Sartori
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy