[ WITH ( view_option_name [= view_option_value] [, ... ] ) ]
AS query
[ WITH [ CASCADED | LOCAL ] CHECK OPTION ]
-
-
where view_option_name can be one of:
-
- security_barrier [ boolean ]
- check_option [ text (local or cascaded) ]
- security_barrier(boolean)
+ check_option (string)
- This should be used if the view is intended to provide row-level
- security. See for full details.
+ This parameter may be either local> or
+ cascaded>, and is equivalent to specifying
+ WITH [ CASCADED | LOCAL ] CHECK OPTION> (see below).
+ This option can be changed on existing views using
+ linkend="sql-alterview">.
- check_option(text)
+ security_barrier (string)
- This parameter may be either local> or
- cascaded>, and is equivalent to specifying
- WITH [ CASCADED | LOCAL ] CHECK OPTION> (see below).
- This option can be changed on existing views using
- linkend="sql-alterview">.
+ This should be used if the view is intended to provide row-level
+ security. See for full details.