On this page

Skip to content

Customizing Display Columns in SQL Server Management Studio Table Designer

There are already many articles on this topic online, but to prevent these sites from disappearing in the future, I am writing this note as a record.

In SSMS, the default columns displayed in the table designer are limited to "Column Name", "Data Type", and "Allow Nulls":

ssms table design default

In reality, the commonly used columns are not limited to these. Unfortunately, as of SSMS 20.2 and earlier versions, there is no UI provided to edit the display columns; you must customize them by modifying the Registry.

How to Customize Display Columns

  1. Run "regedit.exe" to open the Registry Editor.
  2. Navigate to the following path (20.0_IsoShell corresponds to the location for SSMS 20; older versions may use {version}_IsoShell or {version}): \HKEY_CURRENT_USER\SOFTWARE\Microsoft\SQL Server Management Studio\20.0_IsoShell\DataProject.
text
HKEY_CURRENT_USER\SOFTWARE\Microsoft\SQL Server Management Studio\20.0_IsoShell\DataProject
  1. Modify the setting for SSVPropViewColumnsSQL80. The default value is 1,2,6. The settings are as follows:
ValueDisplay ColumnDescription
1Column NameColumn Name
2Data TypeData Type
3LengthLength
4PrecisionPrecision
5ScaleScale
6Allow NullsAllow Nulls, displayed as a checkbox
7Default ValueDefault Value
8IdentityIdentity
9Identity SeedIdentity Seed
10Identity IncrementIdentity Increment
11Row GUIDRowGuid, sets whether the column is the RowGuidCol for the table
12NullableNullable, displayed as a "Yes/No" dropdown
13Condensed TypeCondensed Data Type
14Not for ReplicationNot for Replication
15FormulaFormula
16CollationCollation
17DescriptionDescription

Based on my usage habits, I choose the following columns:

  • 1: Column Name
  • 2: Data Type
  • 6: Allow Nulls
  • 7: Default Value
  • 8: Identity
  • 17: Description

The reasons are as follows:

  • Column 2 (Data Type) automatically displays 3 (Length), 4 (Precision), and 5 (Scale) for the corresponding types.
  • In most cases, after setting column 8 (Identity), 9 (Identity Seed) and 10 (Identity Increment) are both 1.
  • Most other columns are not commonly used.

The configuration result is as follows:

ssms registry settings

The display result after modification is as follows:

ssms table design customized

In addition to SSVPropViewColumnsSQL80, there is also SSVPropViewColumnsSQL70, which is primarily for compatibility with SQL Server 7.0 versions and generally does not need to be modified.

WARNING

When setting the registry key, ensure that SSMS is not running; otherwise, the changes will not take effect. If you click to edit again and find the values are the old ones, the registry key will be reverted after a reboot.

References

Change Log

  • 2024-07-15 Initial document creation.