Share via


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.

Warning

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 with the columns you want to rename and choose Design (Modify in SP1 or earlier). 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.

    Note

    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.

See Also

Other Resources

Working with Columns (Visual Database Tools)

Help and Information

Getting SQL Server 2005 Assistance