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

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)
database_name
user_name
Name of the database or user to contain view_name if something other than the current database or user.
view_name
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.
column_name
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.