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

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™
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.