Previous Topic: Enter View User-Defined Property Values

Next Topic: Change the Columns Referenced by a View

Define View Columns

Use the Select tab in the View Editor to define view columns. The following options are available to define view columns:

To define view columns

  1. Right-click the view in the Model Explorer for which you want to define a view column and click Properties.

    The View Editor opens.

  2. Click the Select tab and work with the following options:
    Available Tables and Views

    Displays the names of the tables or views and associated columns that can be referenced by the selected view. Double-click a column in this list to move it to the Columns list to include it in the selected view, or double-click a table or view to move all of its columns to the Columns list and include them in the selected view.

    Note: Available tables and views are determined by the tables and views selected in the From tab.

    Columns

    Displays the view columns assigned in the selected view.

    Select Type

    Lets you specify the Distinct option so that the view automatically eliminates duplicate rows.

    Restriction Type

    Lets you specify the With Check Option so that all changes made through the view to the underlying tables satisfy the definition of the view.

    Alias

    Lets you edit the name of the selected view column.

    Expression

    Lets you edit the selected view column expression.

    Note: This option is available only if the selected view column is a user-defined expression.

    New

    Opens the New View Column dialog so you can enter a user-defined expression as a view column.

    Delete

    Specifies to delete the selected expression.

  3. Click Close.

    View columns are defined and the View Editor closes.