在 SSMS 中,如何更改 SQL 查询窗口的选项卡名称? [英] In SSMS, how do I change a SQL query window's tab name?

查看:55
本文介绍了在 SSMS 中,如何更改 SQL 查询窗口的选项卡名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何更改 SQL 查询窗口的选项卡名称:

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

我想要一个自定义标题,而不是 SQLQuery8.sql…Registry(sa(51)).

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

如果查询窗口有一个非常标题,我一次只能打开3个窗口.我想打开 10 多个窗口.所以我需要将查询窗口的名称更改为非常短的名称,例如 Q1Q2 等.

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.

我该如何更改?

推荐答案

在 SSMS 中,转到 Tools > Options > Text Editor >编辑器标签和状态栏.

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).

这篇关于在 SSMS 中,如何更改 SQL 查询窗口的选项卡名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆