SYSTEM$GET_ALL_DEFAULT_COLUMNS_OVERRIDES

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

System functions

Returns the list of columns that were set by previous calls to SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMAND and SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SYSTEM_OBJECT. For more information, see Handling new columns in SHOW command output, Snowflake views, and table functions.

Syntax

SYSTEM$GET_ALL_DEFAULT_COLUMNS_OVERRIDES()

Returns

Returns a VARCHAR value (a string) in JSON format. The string is a JSON array that contains an object for each SHOW command, Snowflake view, and built-in table function that has an overridden list of columns. If the object represents the overridden list of default columns for a SHOW command, the object contains the following name/value pairs: If the object represents the overridden list of default columns for a Snowflake view or built-in table function, the object contains the following name/value pairs:

Access control requirements

Only account administrators (users who have been granted the ACCOUNTADMIN role) can call this function.

See also

Referenced by