在SQL Server 数据表中显示“说明列”步骤
- 先关掉SMSS
- 运行(Ctrl+R),输入 regedit ,打开注册表
- 小编是用的是2019,版本为18.10,路径如下:Computer\HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\18.0_IsoShell\DataProject
- 上面是要找到,你对应的版本号下的 DataProject,(SQL Server 2008 R2是100,SQL Server 2012是11.0)
- 最后,我们找到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