CREATE VIEW and REPLACE VIEW Syntax Elements - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530
Unless otherwise noted, every syntax element that is a name must follow the rules for naming database objects. See Object Names.
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.
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.
Optionally, views that reference a row-level security table can include columns based on row-level security constraints. However, the view enforces any security constraints contained in the base table whether or not the constraints 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.