Categories:

System functions (System Control)

SYSTEM$ENABLE_PREVIEW_ACCESS

Enables access to open preview features.

See also:

Syntax

SYSTEM$ENABLE_PREVIEW_ACCESS()
Copy

Arguments

None.

Returns

Returns a VARCHAR status message that open preview features have been enabled:

+---------------------------------------------------------------+
| SELECT SYSTEM$ENABLE_PREVIEW_ACCESS();                        |
+---------------------------------------------------------------+
| Preview access has been successfully enabled for this account |
+---------------------------------------------------------------+

Access control requirements

  • Only account administrators (users with the ACCOUNTADMIN role) can execute this function.

Usage notes

  • SYSTEM$ENABLE_PREVIEW_ACCESS only can enable open preview features.

    Contact Snowflake Support to enable or re-enable private preview features.

  • Snowflake Marketplace products, which are managed separately through IMPORTED PRIVILEGES, are not covered as part of this capability.

  • Client-side libraries (such as Snowpark API) are not covered as part of this capability.

  • For customers who have not agreed to the Snowflake Preview Terms of Service (“Preview Terms”), enabling preview features may not be possible.

    To agree to Preview Terms, contact your account representative or Snowflake Support for assistance.

Examples

Enable preview features:

USE ROLE ACCOUNTADMIN;
SELECT SYSTEM$ENABLE_PREVIEW_ACCESS();
Copy