- Categories:
System functions (System Information)
SYSTEM$APP_ COMPATIBILITY_ CHECK¶
Returns the Snowflake edition of the consumer account where an app is installed.
Note
This function can only be called by a Snowflake Native App.
语法
返回
返回一个包含 JSON 对象的 VARCHAR 值。此对象具有以下结构:
Possible values for service_level are:
STANDARDPREMIERPREMIER_PLUS_1PREMIER_PLUS_2ENTERPRISEBUSINESS_CRITICALVPS
使用说明
- Providers can use this function to determine the Snowflake edition of the account where the app is installed. For example, providers can call this function from the setup script to check for the edition during installation.
示例
确定使用者账户的 Snowflake 版本:
这表示使用者账户是 Standard Edition 账户。