- Categories:
Context functions (General)
IS_ CONFIGURATION_ SET(SYS_ CONTEXT 函数)¶
Returns the VARCHAR value 'TRUE' if the specified configuration has a value set,
that is, the configuration’s status is DONE. Returns FALSE if the
configuration does not have a value set, that is, the configuration’s status is PENDING.
语法
实参
'SNOWFLAKE$APPLICATION'指定要调用函数以返回有关调用该函数的应用程序的上下文信息。
'IS_CONFIGURATION_SET'调用 IS_CONFIGURATION_SET 函数。
'config_name'指定要检查的配置的名称。
返回
该函数返回以下 VARCHAR 值之一:
'TRUE'if the configuration has a value set.'FALSE'if the configuration does not have a value set.
To compare this return value against the BOOLEAN value TRUE or FALSE, cast the return value to BOOLEAN. For example:
使用说明
- 此函数只能由应用程序使用。