CREATE VIEW
Description
This command creates a view in a database, which is run every time the view is referenced in a query. Using the WITH NO SCHEMA BINDING clause, you can create views to an external table or objects that don't exist yet. This clause, however, requires you to specify the qualified name of the object or table that you are referencing.
Grammar Syntax
The following is the SQL syntax to create a view in Amazon Redshift. Click here to here to go to Redshifts specification for this syntax.
Sample Source Patterns
Considering the obligatory and optional clauses in Redshifts command, the output after migration to Snowflake is very similar.
Input Code:
Output Code:
There are some exceptions, however, of one unsupported clause from Redshift, therefore an EWI was implemented to cover this case.
Related EWIs
SSC-EWI-RS0003: With no schema binding statement is not supported in Snowflake.
Last updated