-
Notifications
You must be signed in to change notification settings - Fork 411
CREATE VIEW
Rene Saarsoo edited this page Jul 17, 2022
·
8 revisions
SQL standard specifies the following CREATE VIEW syntax:
CREATE [RECURSIVE] VIEW
Dialects have considerable variation:
CREATE [OR REPLACE] VIEW [IF NOT EXISTS]
DB2:
CREATE [OR REPLACE] VIEW
Hive:
CREATE VIEW [IF NOT EXISTS]
CREATE
[OR REPLACE]
[ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]
[DEFINER = { user | CURRENT_USER | role | CURRENT_ROLE }]
[SQL SECURITY { DEFINER | INVOKER }]
VIEW [IF NOT EXISTS]
CREATE
[OR REPLACE]
[ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]
[DEFINER = user]
[SQL SECURITY { DEFINER | INVOKER }]
VIEW
N1QL:
No support for CREATE VIEW.
CREATE [OR REPLACE] [[NO] FORCE] [EDITIONING | EDITIONABLE [EDITIONING] | NONEDITIONABLE] VIEW
CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW
CREATE [OR REPLACE] VIEW
CREATE [OR REPLACE] [[GLOBAL] TEMPORARY] VIEW [IF NOT EXISTS]
CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]
CREATE [OR ALTER] VIEW
CREATE [OR REPLACE] VIEW