Changing a Table View

When you are only working with a few tables in a database diagram, it is usually helpful to view as much column information as possible. Such a view not only gives you more information, but enables you to edit the column definitions.

When you are only working with a large number of tables, however, it is usually preferable to view only the column names, or only the table name, so that you can see more of the tables in your diagram at once.

In a database diagram, you can expand the tables you want to edit as needed, and then collapse them again to save space on the diagram.

Each table in a database diagram can be displayed in one of five views:

The default set of columns for the Custom view includes Column Name, Condensed Datatype, and Nullable.

Column Setting
Column Name The name of the field in the table.
Condensed Datatype Information about the field's data type, in the same format as the Transact-SQL statement CREATE TABLE. For example, a field containing a variable-length string with a maximum length of 20 characters would be represented as varchar(20).
Nullable NULL (the field can contain a NULL value) or NOT NULL (the field must contain a nonnull value).

See Also

Printing and Previewing Database Diagrams

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.