execute_sql_file
Execute SQL migration or DDL scripts as a single atomic transaction; any failure triggers automatic rollback for data integrity.
Instructions
Execute a SQL file containing migration scripts or DDL statements. The entire file is executed as a single transaction - all changes are rolled back if any statement fails. Only available in unrestricted access mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the SQL file to execute |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |