SYSTEM$GET_CATALOG_LINKED_DATABASE_CONFIG
functionsupportedIceberg & external tablesReturns 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
| Name | Required | Description |
|---|---|---|
catalog_linked_database_name | required | The 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
- The function also applies to catalog-linked databases created from a Zero-Copy connector. To read the Zero-Copy connector settings of such a database, use SYSTEM$GET_ZEROCOPY_CONNECTOR_LINKED_DATABASE_CONFIG.
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.