- Categories:
System functions (System Information)
SYSTEM$GET_ ZEROCOPY_ CONNECTOR_ LINKED_ DATABASE_ CONFIG¶
Returns the Zero-Copy connector configuration of a catalog-linked database that was created from a Zero-Copy connector. The output is in JSON format.
To get the properties that every catalog-linked database has, such as sync_interval_seconds, use
SYSTEM$GET_CATALOG_LINKED_DATABASE_CONFIG.
Syntax¶
Arguments¶
database_nameThe 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 Zero-Copy connector configuration.
| Field | Description |
|---|---|
zerocopy_connector | Fully qualified name of the Zero-Copy connector the database is mounted from. |
zerocopy_partner_type | Partner type of that connector, such as SALESFORCE, SAP_BDC, or WORKDAY. |
legacy_salesforce_schema_alias | Whether each mounted share is also exposed under its Data Cloud V1 schema name. Returned only for a Salesforce connector. |
salesforce_user_friendly_name | Whether each share’s schema also exposes the short-named views. Returned only for a Salesforce connector. |
The two Salesforce fields are returned only for Salesforce databases.
Access control requirements¶
A role used to execute this operation must have the MONITOR or OWNERSHIP privilege on the 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.
Examples¶
Get the Zero-Copy connector configuration for a catalog-linked database named my_sfdc_db:
An example output for a Salesforce connector:
An example output for a SAP® BDC connector: