Define Teradata Views
You can use the Teradata View Editor to create new views and to modify properties for existing views for Teradata physical models.
To define Teradata database views
- Click Views on the Model menu.
The Teradata View Editor opens.
- Select a view and work with the following options:
Note: Click New
on the toolbar to create a new view. Use the Enter filter text text box to filter a very large list of views to quickly locate the one you want to work with.
- Name
Specifies the name of the view.
- Database
Specifies the database or user to which the view belongs. Select from the drop-down list.
- Use Replace Syntax
Specifies if Forward Engineering will use the REPLACE command instead of the CREATE command.
- Generate
Generates DDL for this object during Forward Engineering.
- Work with the following fields on the General tab:
- Select Top Percent
Specifies the percentage of the rows to return from the select operation.
- Select With Ties
Specifies that all qualified rows having the same value (must have ORDER BY defined) are to be included in the result set.
- Recursive
Specifies that the view is recursive.
- Work with the other tabs in the editor to access additional design features, for example:
- Define the locking options for a selected view on the Locking tab.
- Specify the tables and columns to use with the selected view on the Select tab.
- Choose from a list of available tables to populate the Select tab on the From tab.
- Specify properties for the where clause on the Where tab.
- View and change a user-defined DDL statement on the User Defined SQL tab.
- View SQL code for a selected view on the SQL tab.
- Associate styles with the selected view on the Style tab.
- Associate icons with the selected view on the Icon tab.
- Associate permissions with the selected view on the Permission tab.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the History tab to view the history information for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- Click Close.
The Teradata View Editor closes.
Copyright © 2020 erwin, Inc.
All rights reserved.
|
|