The CData MuleSoft Connector for Salesforce Marketing Cloud supports several operations on data, including querying, deleting, modifying, and inserting.
See SELECT Statements for a syntax reference and examples.
See Data Model for information on the capabilities of the Salesforce Marketing Cloud API.
See INSERT Statements for a syntax reference and examples, as well as retrieving the new records' Ids.
The primary key Id is required to update a record. See UPDATE Statements for a syntax reference and examples.
The primary key Id is required to delete a record. See DELETE Statements for a syntax reference and examples.
CACHE statements allow granular control over the connector's caching functionality. For a syntax reference and examples, see CACHE Statements.
For more information on the caching feature, see Caching Data.
REPLICATE statements allow high-level control over caching and incremental updates. For a syntax reference and examples, see REPLICATE Statements.
You can also incrementally update a cache automatically; see AutoCache for more information.
Names and Quoting
- Table and column names are considered identifier names; as such, they are restricted to the following characters: [A-Z, a-z, 0-9, _:@].
- To use a table or column name with characters not listed above, the name must be quoted using square brackets ([name]) in any SQL statement.
- Parameter names can optionally start with the @ symbol (e.g., @p1 or @CustomerName) and cannot be quoted.
- Strings must be quoted using single quotes (e.g., 'John Doe').
Transactions and Batching
Transactions are not currently supported.
Additionally, the connector does not support batching of SQL statements. To execute multiple commands, you can create multiple instances and execute each separately.