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

Fec*_*ore 24 sql-server user-interface ssms database-connection

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

是否还有一种方法可以更改底部查询状态栏的默认颜色(当未从"已注册的服务器"选项卡中选择服务器时)?当我不记得使用已注册的服务器时,我还想做出明亮鲜明的颜色.

KM.*_*KM. 23

在SQL Server Management Studio 2008中,您可以在没有任何加载项的情况下对连接进行颜色编码.在SSMS 2008中,转到已注册的服务器,然后右键单击服务器,然后单击连接属性选项卡,然后选择"使用自定义颜色"

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


Pat*_*ada 15

在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.
Run Code Online (Sandbox Code Playgroud)


Kam*_*ami 5

您可以更改KM指示的已注册服务器颜色.

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