Is there a command line interface where I can run a script that says, for example: Connect to server a Run query 1 Connect to server b Run query 2 Run query 3
I tried searching online but couldnt find anything built into SQL Server Management Studio. Thanks!