validate_query
Check whether a SQL query is syntactically correct with QuestDB's validator. Catch syntax errors before sending the query to the database.
Instructions
Validate the syntax correctness of a SQL query using QuestDB's SQL syntax validator. All generated SQL queries should be validated using this tool before responding to the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to validate |