Run a SQL query
queryExecute a single read-only SELECT query against SQL Server and return rows as JSON. Handles rate limiting with retry times for paced execution.
Instructions
Execute a single SELECT query against SQL Server and return rows as JSON. Read-only: only SELECT / WITH statements are permitted. Rate limit: 30 requests per 60s, 4 concurrent; exceeding it returns an error with a retry time, so pace your calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single SELECT query. | |
| maxRows | No | Max rows to return (default 100). |