How to: Rename Tables (Visual Database Tools)

New: 17 July 2006

When you rename a table, the table name is automatically updated in the database when you save the table.

Warning

Think carefully before you rename a table. If existing queries, views, user-defined functions, stored procedures, or programs refer to that table, the name modification will make these objects invalid.

To rename a table

  1. In Object Explorer, right-click the table you want to rename and choose Design (Modify in SP1 or earlier).

    The table opens in the Table Definition window of Table Designer.

  2. From the View menu, choose Properties.

  3. In the field for the Name value in the Properties window, type a new name for the table.

  4. To cancel this action, press the ESC key before leaving this field.

  5. From the File menu choose Savetable name**.**

See Also

Other Resources

Working with Tables in Table Designer (Visual Database Tools)

Help and Information

Getting SQL Server 2005 Assistance