6.4. Handling Long SQL Queries

If your SQL query exceeds the AI2sql limit, follow these steps to break it down into smaller chunks:

  1. Analyze your SQL query and identify logical segments.

  2. Break the query into smaller parts based on these segments.

  3. Process each segment using AI2SQL and reassemble the corrected parts into a single query.

Last updated