This tool is for query execution. If you only need to explore warehouse metadata such as schemas, tables, or column definitions, use the Warehouse Tools instead.
Enabling the SQL Execution Tool
To enable the SQL Execution Tool:- Navigate to Settings in your Paradime workspace
- Open the DinoAI section
- Find SQL Execution Tool and toggle it on
Capabilities
The SQL Execution Tool runs SQL statements against your connected data warehouse and returns the results directly to DinoAI. Specifically, it:- Runs any SQL statement against your connected data warehouse
- Auto-limits result sets to a maximum of 1,000 rows
Using the SQL Execution Tool
- Open DinoAI in the right panel of the Code IDE
- Provide the SQL query you want to run, either directly or as part of a broader prompt
- Add any additional instructions for how DinoAI should handle or interpret the results
- Grant permission when DinoAI asks to execute the query
- Review the results and implement DinoAI’s suggested actions
Example Use Cases
Profiling a Dataset Promptaccepted_values test in your schema.yml based on what it finds in the data.
Analyzing Query Results
Prompt
Working with Other Tools
The SQL Execution Tool works well alongside DinoAI’s other capabilities to support your full development workflow:- Combine with the Warehouse Tool to explore table and column metadata before writing and executing a query
- Combine with the Terminal Tool to run dbt commands and then validate the output by querying the resulting models directly
- Use alongside Git Lite to commit model changes after validating results look correct through query execution
Best Practices
- Validate early and often — Run queries against your models as you build to catch issues before they reach production
- Let DinoAI interpret results — Ask DinoAI to summarize or analyze query output rather than just returning raw rows, especially for large or complex result sets
- Use it to drive test generation — Query for distinct values, null rates, or value ranges and ask DinoAI to turn the findings directly into dbt tests
- Be mindful of row limits — Results are capped at 1,000 rows. If your query returns exactly 1,000 rows, there may be additional data not shown — add filters or aggregations to work within the limit effectively