如何根据我连接到的数据库更改 SQL Server Management Studio 的外观?

发布于 2024-08-29 05:39:06 字数 170 浏览 3 评论 0原文

我想根据当前连接的数据库修改 SQL Server Management Studio 中查询窗口的外观。例如,对生产数据库使用黄色背景。有办法做到这一点吗?

还有一种方法可以更改底部查询状态栏的默认颜色(当未从“注册服务器”选项卡中选择服务器时)?当我不记得使用注册服务器时,我还想制作一种明亮而独特的颜色。

I'd like to modify the appearance of the query window in SQL Server Management Studio based on which database I'm currently connected to. For example, using a yellow background for production databases. Is there a way to do this?

Is there also a way to change the default color of the query status bar at the bottom (when a server is not selected from the Registered Servers tab)? I'd like to also make a bright and distinct color for when I don't remember to use the Registered Servers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

独木成林 2024-09-05 05:39:06

在 SQL Server Management Studio 2008 中,您可以对连接进行颜色编码,而无需任何加载项。在 SSMS 2008 中,转到“注册服务器”,然后右键单击服务器,然后单击“连接属性”选项卡,然后选择“使用自定义颜色”。

您可以尝试使用 SQL Server 2005 的加载项: SSMS 工具包 其中有
窗口连接着色

In SQL Server Management Studio 2008 you can color code your connection without any add-ins. In SSMS 2008, go To Registered Servers and then Right-Click a server then Connection Properties tab then Select "Use Custom Color"

you can try an add-in for SQL Server 2005: SSMS Tools Pack which has
Window Connection Coloring

不必在意 2024-09-05 05:39:06

在2012中你可以执行以下操作,一旦你完成了它就会记住,然后你就不需要使用注册服务器窗口了。

Set the Status Color for a Server in Object Explorer
To set a server status color in Object Explorer
1.  In Object Explorer, select the Connect button and then select Database Engine….
2.  On the Connect to Server dialog, select Options >>.
3.  Select the Use custom color check box.
4.  To select the color, select the Select… button.
5.  Select either a basic or custom color, then select OK.
6.  Fill in the rest of the connection information, and then select the Connect button.

In 2012 you can do the following, once you have done it it will remember, then you don't need to use the registered server window.

Set the Status Color for a Server in Object Explorer
To set a server status color in Object Explorer
1.  In Object Explorer, select the Connect button and then select Database Engine….
2.  On the Connect to Server dialog, select Options >>.
3.  Select the Use custom color check box.
4.  To select the color, select the Select… button.
5.  Select either a basic or custom color, then select OK.
6.  Fill in the rest of the connection information, and then select the Connect button.
山有枢 2024-09-05 05:39:06

您可以按照 KM 指示更改注册服务器颜色。

您还可以通过“工具”>“工具”将默认颜色设置为任何颜色。选项>文本编辑器>编辑器选项卡和状态栏>状态栏布局和颜色[单服务器连接]。这适用于 Sql Server Management Studio 2008。

You can change the Registered Server colour as KM indicated.

You can also set the default colour to be whatever via Tools > Options > Text Editor > Editor Tab and Status Bar > Status Bar layour and Colors [Single server Connections]. This applies to Sql Server Managment Studio 2008.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文