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ยถ

  • This is an all-or-nothing setting that affects all users and all previews within an account.

  • 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