SYSTEM$GET_PREVIEW_ACCESS_STATUS

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

System functions

Determine if access to all preview features is enabled or disabled. See also: SYSTEM$DISABLE_PREVIEW_ACCESS, SYSTEM$ENABLE_PREVIEW_ACCESS

Syntax

SYSTEM$GET_PREVIEW_ACCESS_STATUS()

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.