Skip to content
View Article Network

Customizing Display Columns in SQL Server Management Studio Table Designer

There are already many articles on this topic online, but to ensure this information remains available even if those sites disappear, I am writing my own note for documentation.

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 these display columns; you must customize them by modifying the Windows 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 SSVPropViewColumnsSQL80 setting; the default value is 1,2,6. The available values 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 relevant types.
  • In most cases, after setting column 8 (Identity), 9 (Identity Seed) and 10 (Identity Increment) will both be 1.
  • Most other columns are rarely used.

The configuration result is as follows:

ssms registry settings

The 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 have reverted, it is because the registry key was reset after restarting the application.

References

Change Log

  • 2024-07-15 Initial document creation.