sql设置描述列显示

运行-regedit-打开注册表(这里记得关掉SMSS工具)。

HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\13.0\DataProject

我是用的是2016,版本为13.0,这里注意对应你的版本号下找到DataProject

SQL Server 2008 R2是100,SQL Server 2012是11.0

2019的路径跟上面不同:Computer\HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\18.0_IsoShell\DataProject

最后,我们找到SSVPropViewColumnsSQL70 和SSVPropViewColumnsSQL80
我们看到的值:1,2,6; → 把它改成:1,2,6,17;,数字代表的列如下:

(1)Column Name (2)Data Type (3)Length (4)Precision(5)Scale

(6)Allow Nulls(7)Default Value(8)Identity(9)Identity Seed(10)Identity Increment

(11)Row GUID(12)Nullable(13)Condensed Type(14)Not for Replication(15)Formula

(16)Collation(17)Description

posted @ 2021-01-28 10:51  饮水思源^0^  阅读(127)  评论(0编辑  收藏  举报