- First connect to a server
- Open a new query
- And now click on “Query” menu.
- Choose “SQL CMD Mode”
Now type :Connect ServerName. This command will establish a connection to the server you have specified and then it will execute your query on that server.
Results:
Now if you go to “Messages” Tab, you will see the below result text (self explanatory).
No comments:
Post a Comment