execute_dml_rollback_first
Dry-run an INSERT, UPDATE, DELETE, or MERGE in a rolled-back transaction to verify its validity and affected row count before applying it for real with execute_dml.
Instructions
Execute an INSERT, UPDATE, DELETE or MERGE inside a transaction that is immediately rolled back. Nothing is persisted; the tool only proves the statement is valid and reports the number of rows affected. Call execute_dml afterwards to apply the change for real.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single INSERT, UPDATE, DELETE or MERGE statement to dry-run (executed then rolled back). |