Run SQL statement
run_sqlExecute read-only SELECT and WITH queries to retrieve data and inspect Oracle Database schema without modifying data.
Instructions
Executes read-only SELECT/WITH SQL. This server was not started with --allow-write, so DML/DDL is disabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL statement to execute without a trailing semicolon. | |
| binds | No | Named bind parameters, e.g. {"id": 42}. | |
| allowWrite | No | Requests non-read-only execution when the server was started with --allow-write. |