- Categories:
System functions (System Information)
SYSTEM$SHOW_ ACTIVE_ BEHAVIOR_ CHANGE_ BUNDLES¶
Returns an array of the currently available behavior change release bundles, the default state of each bundle, and the actual state of the bundle for the current account.
Syntax¶
Arguments¶
None.
Returns¶
Returns a VARCHAR value that contains an array of objects that represent the currently available behavior change bundles. Each object contains the following keys, which describe the status of the bundle:
| Key | Description of value |
|---|---|
name | Name of the behavior change bundle |
isDefault | true if the associated bundle should be enabled by default for the current account; false otherwise. |
isEnabled | true if the associated bundle is actually enabled by default for the current account; false otherwise. |
Usage notes¶
- Calling SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE or SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE changes the value of
isEnabledfor the specified bundle. - SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS returns the same information as this function for a specific bundle.
Examples¶
The following example returns information about the current behavior change bundles.
The following example uses the PARSE_JSON function to return the array as a VARIANT and then uses the FLATTEN function to present the bundle information in a tabular format.