CREATE VIEW and REPLACE VIEW Syntax Elements - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
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.