다음을 통해 공유


How to: Save Your Work in Table Designer

You can save changes to tables that are open in Table Designer.

Note

A new version of Table Designer appears for databases in the SQL Server 2012 format. This topic describes the old version of Table Designer, which you use with databases in earlier formats of SQL Server.

In the new version, you can change a table definition through a graphical interface or directly in a script pane. If you use the graphical interface, the table’s definition is automatically updated in the script pane. To apply the SQL code in the script pane, choose the Update button. For more information about the new version, see How to: Create Database Objects Using Table Designer.

Note

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Customizing Development Settings in Visual Studio.

To save a table

  1. Click anywhere in the Table Designer.

  2. From the File menu, choose Save tablename.

  3. In the Save dialog box, click Yes to update the database.

Note

If the changes you are saving cause no changes to other tables, you won't see this dialog.

Note

The list of tables in the Save dialog box may include tables other than the one you modified. For example, if you change the data type of a column that participates in a relationship with another table, both tables will be included in this list.

Note

To save changes to all open items, such as tables, views, stored procedures, from the File menu choose Save All.

See Also

Tasks

How to: Generate Change Scripts

Reference

Table Properties

Other Resources

Working with Tables in Table Designer