CREATE ZEROCOPY CONNECTOR
statementnot supportedIceberg & external tablesCreates a new Zero-Copy connector in the current or specified schema, or replaces an existing connector. A Zero-Copy connector is a schema-level object that holds the connection between your Snowflake account and a data partner: SAP® Business Data Cloud (SAP® BDC), Salesforce Data Cloud, or Workday Data Cloud. After the connector is connected, you can mount the partner’s data as a read-only catalog-linked database. A new connector is in the NEW state and isn’t connected to the partner. To connect it, see ALTER ZEROCOPY CONNECTOR.
Syntax
supportedpartialnot supportednot scored
CREATE [ OR REPLACE ] ZEROCOPY CONNECTOR [ IF NOT EXISTS ] <name>
PARTNER = { SAP_BDC | SALESFORCE | WORKDAY }
[ COMMENT = '<string_literal>' ]
Parameters
| Name | Required | Description |
|---|---|---|
name | required | Specifies the identifier for the connector. The identifier must be unique for the schema in which you create the connector. Use a fully qualified name (<db>.<schema>.<name>). Also use the fully qualified name when you create catalog-linked databases from the connector. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters unless the entire identifier string is enclosed in double quotes (for example, "My object"). Identifiers enclosed in double quotes are also case-sensitive. For more information, see Identifier requirements. |
PARTNER = { SAP_BDC | SALESFORCE | WORKDAY } | required | Specifies the data partner that the connector connects to. The value is case-insensitive. SAP_BDC: SAP® Business Data Cloud. See Set up the SAP® BDC Connect for Snowflake Zero-Copy connector. SALESFORCE: Salesforce Data Cloud. See Set up the Salesforce Data Cloud Zero-Copy connector. WORKDAY: Workday Data Cloud. See Set up the Workday Data Cloud Zero-Copy connector. Changing the partner of an existing connector isn’t supported. |
COMMENT = 'string_literal' | optional | Specifies a comment for the connector. Default: No value |
Usage notes
- For SAP® BDC, an organization administrator must accept the SAP® BDC Connect for Snowflake terms for your organization before you can create a connector. A user with the ORGADMIN role accepts the terms once in Snowsight, under Admin » Terms.
- By default, an account can have up to 200 Zero-Copy connectors. To increase the limit, contact your Snowflake account representative.
- CREATE OR REPLACE drops the existing connector and creates a new one. The existing connector must be in the NEW, CONNECT_ERROR, DISCONNECTED, or DISCONNECT_ERROR state. To replace a connected connector, first drop its catalog-linked databases and run ALTER ZEROCOPY CONNECTOR … DISCONNECT.
- Zero-Copy connectors don’t support UNDROP.
Access control requirements
A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes CREATE ZEROCOPY CONNECTOR | Schema | Required to create a connector in the schema. By default, the owner role of a schema has this privilege. USAGE | Database | Required to create objects in a schema of the database. USAGE | Schema | Required to create objects in the schema. 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.
See also
- ALTER ZEROCOPY CONNECTOR
- DROP ZEROCOPY CONNECTOR
- SHOW ZEROCOPY CONNECTORS
- DESCRIBE ZEROCOPY CONNECTOR
- CREATE DATABASE (zero-copy connector-linked) ↗