Defining Teradata Views
The following properties are applicable to a Teradata View object.
Tab |
Property |
Description |
Additional Information |
---|---|---|---|
Name | Specifies the name of the view | ||
Database | Specifies the database or user to which the view belongs | ||
Use Replace Syntax | Specifies whether the REPLACE syntax is used | Selecting this option replaces the syntax with the new DDL that is generated during Forward Engineering | |
Generate | Specifies whether a DDL statement is generated for the view during forward engineering | ||
General
|
Select Top Percent | Specifies the percentage of the rows to return from the select operation | |
Select With Ties | Specifies whether all qualified rows with the same value (must have ORDER BY defined) are included in the result set | ||
Recursive | Specifies whether the view is recursive | ||
With |
Specifies the recursive and non-recursive modifier queries |
|
|
Locking | Name | Specifies the lock name | |
Locking Object | Specifies the type of object to lock |
Database: Indicates that all rows of all tables within the specified database is locked. Table: Indicates that all rows in the specified table is locked. View: Indicates that all underlying tables accessed by the specified view is locked. Row: Indicates that the primary and fallback copies of the specified row is locked. |
|
For OR In |
Specifies the type of the placed lock |
|
|
Lock Level | Specifies the lock severity for the selected object |
Access: Indicates that the system permits read access to an object that might already be locked for READ or WRITE Read: Indicates that the system restricts modifications to the object and the user is allowed only the read access Share: Indicates that the read access is shared between multiple transactions from the same statement. Write: Indicates that the system restricts access by other users Exclusive: This lock is placed only on a database or table when the object is undergoing structural changes. Read Override: Indicates that the READ lock in a view is overridden by a LOCKING FOR ACCESS modifier Load Committed: Indicates that the system permits read access to committed rows in load-isolated tables without blocking load-isolated modifications Excl: This lock is placed only on a database or table when the object is undergoing structural changes. |
|
MODE |
Specifies whether an optional keyword is used for locking |
|
|
Lock No Wait | Specifies whether to wait to acquire a lock | ||
Database | Specifies the database to lock | ||
Entity Lock | Specifies the entity to lock | ||
Temporal Qualifier | Default Date Timestamp Expression | Specifies the default TIMESTAMP expression | |
Valid-Time Qualifier | Specifies the valid-time qualifier to define temporal properties |
Current Valid-Time: Indicates that the query applies to only data that is currently in effect Sequenced Valid-Time: Indicates that the query applies to only data that is in effect for a specified time period Non-Sequenced Valid-TIme: Indicates that the tables are treated as non-temporal, and valid-time dimension is ignored Valid-Time As Of: Indicates that the query applies to only data that is in effect at a specified point in time |
|
Valid-Time Period Expression | Specifies the period of applicability for the current, sequenced, or non-sequenced query | Available when Sequenced Valid-Time or No-Sequenced Valid-Time temporal qualifiers are selected. | |
Valid-Time Date Timestamp Expression | Specifies the beginning time of applicability for the sequenced or non-sequenced query | Available when Valid-Time As Of temporal qualifier is selected. | |
Select | Available Tables and Views | Specifies a list of available tables and views | Under Available Tables and Views, select the columns that you want to define as view column. Then, click . |
Columns | Specifies the columns selected from the available tables and views | ||
Select Type | Specifies the expression type to indicate whether duplicate rows are returned |
Distinct: Indicates that the statement discards duplicate rows and returns only the remaining rows All: Indicates that the statement returns all rows, including duplicate rows |
|
Restriction Type | Specifies the With Check Option for the view column. |
With Check Option: Indicates that all modifications made through the view to the underlying tables satisfy the definition of the view With Cascaded Check: Indicates that the all underlying views undergo the check testing With Local Check Option: Indicates that the check testing is restricted only to the views being defined |
|
Alias | Specifies a temporary name given to a table, column, or expression present in a query based on the selected column | ||
Expression | Specifies the expression for a selected column | Available only when the selected column is a user-defined function expression | |
From | Available Tables and Views | Specifies a list of available tables and views | Under Available Tables and Views, select the tables or views from which you want to select view columns. Then, click . |
From | Specifies the selected tables and views | ||
Alias | Specifies an alternate name for the selected table or view |
Copyright © 2024 Quest Software, Inc. |