Manually rename tabs in SSMS

限于喜欢 提交于 2019-12-30 08:29:09

问题


I'm always getting confused as to which tab is which in SQL Server Management Studio 2008 R2. I don't find the default naming scheme of tabs very intuitive. Is there a way I can manually rename them?


回答1:


then don't use tabs, switch to window view:

from the menu:
    tools - options
        in the dialog box, environment - general:
            click on the "MDI" environment radio button

I fought with the tabs and gave up, this works better for me. the tabs just show the first few characters, which ends up being the beginning of the database name, which was usless for me. You can use menu - "window" to see a list of your windows.




回答2:


The "MDI" option suggested in the accepted answer does not exist in SSMS 2012.

However, if you open your options screen and set the following flags under Text Editor > Editor Tab and Status Bar > Tab Text:

Include database name: False
Include file name:     True
Include login name:    False
Include server name:   False

Then save the query as something simple you may see the results you want:



来源:https://stackoverflow.com/questions/10882651/manually-rename-tabs-in-ssms

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