batch_execute
Execute a list of SQL statements sequentially in a single request to initialize or modify database schema and data.
Instructions
Execute multiple SQL statements sequentially.
Args: statements: List of SQL statements to execute in order
Example: batch_execute([ "CREATE TABLE users (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255))", "INSERT INTO users (name) VALUES ('Alice')", "INSERT INTO users (name) VALUES ('Bob')" ])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| statements | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |