- Categories:
System functions (System Information)
SYSTEM$GET_PREVIEW_ACCESS_STATUS¶
Determine if access to all preview features is enabled or disabled.
See also:
Syntax¶
SYSTEM$GET_PREVIEW_ACCESS_STATUS()
Arguments¶
None.
Returns¶
Returns a VARCHAR status message representing whether preview features are enabled or disabled as shown below:
Enabled:
+--------------------------------------------+ | SYSTEM$GET_PREVIEW_ACCESS_STATUS() | +--------------------------------------------+ | Preview access is ENABLED for this account | +--------------------------------------------+
Disabled:
+---------------------------------------------+ | SYSTEM$GET_PREVIEW_ACCESS_STATUS() | |---------------------------------------------| | Preview access is DISABLED for this account | +---------------------------------------------+
Access control requirements¶
The SYSTEM$GET_PREVIEW_ACCESS_STATUS function can be executed by any user in the account and does not require special privileges.
Examples¶
Display the current state of preview features.
SELECT SYSTEM$GET_PREVIEW_ACCESS_STATUS();