Snap type: | Write | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap executes a SQL UPDATE statement for each batch of input documents. Keys from the document will be used as the columns to update and their values will be the updated value in the column.
| |||||||||||||
Prerequisites: | [None] | |||||||||||||
Support and limitations: |
| |||||||||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See JDBC Account for information on setting up this type of account. | |||||||||||||
Views: |
| |||||||||||||
Settings | ||||||||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||||||||
Schema name | The database schema name. In case it is not defined, then the suggestion for the Table Name will retrieve all tables names of all schemas. The property is suggestible and will retrieve available database schemas during suggest values.
Example: SYS | |||||||||||||
Table name | Required. The name of the table to execute the UPDATE statement on.
Example: people Default value: [None] | |||||||||||||
Update condition | Required. SQL where clause of the update statement. Example: email = "customer@example.com" | Execute during preview | ||||||||||||
|
|
Note |
---|
This operation is not supported for Apache Hive databases. |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...