How can I change the connection for current tab in Microsoft SQL Server Management Studio

六眼飞鱼酱① 提交于 2019-12-23 07:50:41

问题


I want to run a query in SQL Server Management Studio on several databases on different servers.

I am already connected to these servers in the object explorer.

Is there a quick way to change the connection of the current query tab to a different server without the need to login again (without using change connection) and without opening a new tab.


回答1:


Right-click in the query window and select Connection > Change Connection:

That will bring up the standard connection dialog from which you can connect to whatever other server / instance you want ...



来源:https://stackoverflow.com/questions/26200632/how-can-i-change-the-connection-for-current-tab-in-microsoft-sql-server-manageme

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!