17.05 - CREATE VIEW and REPLACE VIEW Syntax Elements - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
January 2021
Content Type
Programming Reference
Publication ID
English (United States)
Last Update
Name of the database or user to contain view_name if something other than the current database or user.
Name of the new view.

For information about naming database objects, see Teradata Vantage™ - SQL Fundamentals, B035-1141.

If view_name is not fully qualified, the default database is used.
Name of a view column. If more than one column is specified, list their names in the order in which each column is to be displayed for the view.
Views that reference a row-level security table can include columns based on row-level security constraints, but it is not required. However, the view enforces any security constraints contained in the base table whether or not they are included in the view definition.
A view can reference both row-level security tables and non-row-level security tables, but all referenced row-level security tables must contain the same security constraint columns or subsequent requests to access the view fail with an error.