- SQL Review Rules check each statement against rules you turn on for each database engine, such as “every table needs a primary key”. The same SQL always gets the same result.
- AI SQL Review adds a review by your configured AI model, which reads the statements together with the target database’s schema and statistics to look for risks in the change. It follows a review policy you can customize in plain language.
Use SQL Review Rules for checks that must give the same result every time, and add AI SQL Review for a broader review that follows a policy you customize in plain language.
SQL Review Rules
Create a SQL Review policy and attach it to environments or projects.
AI SQL Review
Turn on AI SQL Review and write your own review policy.

