Export (0) Print
Expand All

How to: Rename Columns (Visual Database Tools)

The column name property of a column shows the name of the column as it is stored in the database. You can rename a column directly in your table in Table Designer and the database will be updated with the new name when you save the table.

Caution noteCaution

Renaming a column may affect dependent triggers, stored procedures, and constraints. Consider renaming a column before you create these other objects.

To rename a column

  1. In Object Explorer, right-click the table to which you want to add columns and choose Design. The table opens in Table Designer.

  2. Under Column Name, select the name you want to change and type a new one.

    The column is renamed in your table as soon as you exit the cell. The column is renamed in your database when you save the table.

NoteNote

You can also change the name in the Column Properties tab. Select the column whose name you want to change and type a new value for Name.

Community Additions

ADD
Show:
© 2014 Microsoft