SSMS Change Connection for Query Editor Window

后端 未结 2 1372
猫巷女王i
猫巷女王i 2021-02-12 21:22

Normally when I want to change the connection for a Query Editor Window in SQL Server Management Studio, I can select a new connection from the menus at the top - Query > Co

相关标签:
2条回答
  • 2021-02-12 21:35

    Well, SSMS does not allow to manage connections easily (particulary, when you want to switch connections between servers). I have developed add-in for SSMS: SSMSBoost - it adds additional combobox to the toolbar with your favorite connections (you have to define them). In your case, after opening the script you will have to pick the right connection from this new combobox and it will be established. Addin is currently free.

    0 讨论(0)
  • 2021-02-12 21:35

    Luckily in SSMS 2008-R2, 2012 There is a change connection function. Placed just before the DB dropdown. Or via menu Query>Connection>Change Connection.

    0 讨论(0)
提交回复
热议问题