Physical Modeling › Teradata Physical Property Editors › Define Teradata Views
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 you want associated with the view.
- (Optional) Click the UDP tab to work with user-defined properties for the view.
- (Optional) Click the Notes tab to view history information and view or edit user notes.
- Click Close.
The Teradata View Editor closes.
More information:
Define the Locking Options for a Teradata View
Select the Tables and Columns for the View or Join Index
Define User-Defined SQL Code
View SQL Code for a Physical Object
Add Permissions in a Teradata Property Editor
Add a Comment in a Property Editor
Add a UDP in a Physical Property Editor