Defining Snowflake Materialized Views
The following properties are applicable to a Snowflake Materialized View object.
Tab |
Property |
Description |
Additional Information |
Create Table As Select | Specifies whether a table should be created based on the results of a SELECT statement | ||
Use Replace Syntax | Specifies whether to replace the CREATE syntax during Forward Engineering | ||
If Not Exists | Specifies whether the stored procedure already exists, no exception is thrown, and no action happens | ||
Generate | Specifies whether a DDL statement is generated for the function during forward engineering | ||
General |
Secure | Specifies whether the materialized view is secure | |
Copy Grants | Specifies whether access permissions from an original view must be retained while replacing an existing view | ||
Cluster By Expression | Specifies an expression on which to cluster the materialized view | ||
Select | Available Tables and Views | Specifies a list of tables and views selected under From | |
Columns | Specifies the selected columns | ||
Select Type | Specifies the expression type to indicate whether duplicate rows are returned | All: Indicates that the statement returns all rows, including duplicate rows Distinct: Indicates that the statement discards duplicate rows and returns only the remaining rows Unique: Indicates that the statement discards duplicate value stored in a column or column sets Distinct Row: Indicates that the statement discards duplicate records and include duplicate fields |
|
Alias | Specifies a temporary name given to a table, column, or expression present in a query based on the selected column | ||
Expression | Specifies the expression for a selected column | ||
From | Available Tables and Views | Specifies a list of available tables and views | Under Available Tables and Views, select the tables or views from which you want to select columns. Then, click ![]() |
From | Specifies a list of selected tables or views from which columns are selected | ||
Alias | Specifies an alternate name for the selected table or view | ||
Where | Where | Specifies the boolean expression of the Where clause | |
Group By | Specifies the grouping expression that defines how the rows are grouped together | ||
Having | Specifies the boolean expression of the Having clause | ||
Order | Specifies the expression of the Order By clause | ||
Tags List | Name | Specifies the name of the tag | |
Value | Specifies the value of the available tag | ||
User Defined SQL | User-Defined SQL | Specifies whether the SQL code used in Forward Engineering is defined using the User Defined SQL tab | |
SQL | Specifies the SQL code used during Forward Engineering |
the same name but are
present in different schemas and are
derived from different tables (that have same names) in different schemas.
Copyright © 2023 Quest Software, Inc. |