SYSTEM$GET_CATALOG_LINKED_DATABASE_CONFIG

functionsupportedIceberg & external tables

docs.snowflake.com ↗

System functions

Returns the configuration parameters set on the specified catalog-linked database. The output is in JSON format.

Syntax

SYSTEM$GET_CATALOG_LINKED_DATABASE_CONFIG('<catalog_linked_database_name>');

Parameters

NameRequiredDescription
catalog_linked_database_namerequiredThe name of the catalog-linked database you want to get the configuration for. Specify it as a string literal enclosed in single quotes.

Returns

The function returns a string that contains a JSON object with the database’s configuration parameters. For a sample output, see Examples.

Usage notes

Access control requirements

A role used to execute this operation must have the MONITOR or OWNERSHIP privilege on the catalog-linked database. For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.