1
This Question is not a duplicate of this another question 

Management Studio 中的结果集列宽

I am not looking to expand a column based on result value.
I am looking to expand column based on column header text.
Besides, it works on one version and not on another version.

我在下面有这个简单的查询

选择“测试列数据”testcollengthyname,3434“testid”

当我在 sql 2014 管理工作室上运行它时

Microsoft SQL Server Management Studio                      12.0.5000.0
Microsoft Analysis Services Client Tools                    12.0.5000.0
Microsoft Data Access Components (MDAC)                     10.0.14393.0
Microsoft MSXML                                             3.0 5.0 6.0 
Microsoft Internet Explorer                                 9.11.14393.0
Microsoft .NET Framework                                    4.0.30319.42000
Operating System                                            6.3.14393

我得到这个结果

在此处输入图像描述

当我在另一台机器上的 sql 2014 management studio 上运行它时

Microsoft SQL Server Management Studio                      12.0.4100.1
Microsoft Analysis Services Client Tools                    12.0.4100.1
Microsoft Data Access Components (MDAC)                     10.0.14393.0
Microsoft MSXML                                             3.0 6.0 
Microsoft Internet Explorer                                 9.11.14393.0
Microsoft .NET Framework                                    4.0.30319.42000
Operating System                                            6.3.14393

我得到的列名被截断...

在此处输入图像描述

此版本的管理工作室中是否有允许我查看没有截断列名的结果的设置?

4

0 回答 0