In SSMS, how do I change a SQL query window's tab name?

霸气de小男生 提交于 2019-12-05 10:17:21

问题


I want to know how to change the tab name of a SQL query window:

Instead of SQLQuery8.sql…Registry(sa(51)), I would like to have a custom caption.

If the query window has a very title, I can only open 3 windows at a time. I want to open more than 10 windows. So I need to change the query window's name to something very short, something like Q1, Q2, etc.

How can I change this?


回答1:


In SSMS, go to Tools > Options > Text Editor > Editor Tab and Status Bar.

You can manage some options of tab text, as shown in the picture below.
(for example don't include db name, file name, login name and/or server name).



来源:https://stackoverflow.com/questions/24653134/in-ssms-how-do-i-change-a-sql-query-windows-tab-name

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