Querying a remote server w/ SQLCMD

So, sometimes you need a simple way to run (often the same) command on two different servers at the same time. Perhaps setting up a Linkserver is difficult, or simply too time consuming. Here’s an option. Try SQLCMD.

Leave a Reply

Your email address will not be published. Required fields are marked *