The SQL Editor menu contains the AI-Assistant commands listed below.
Each of these commands is executed on the SQL statement in the currently active SQL Editor tab. If the tab contains more than one SQL statement, then the selected command is executed on the SQL statement in which the cursor is placed.
•AI Complete: A request is sent to ChatGPT and the SQL statement is completed in SQL Editor.
•AI Explain: The Chat Dialog is opened. In it, a request for an explanation is sent and the response is displayed.
•AI Pretty Print: A request is sent to ChatGPT and, based on the response, the SQL statement is formatted for easier readability as SQL in SQL Editor.
These AI-Assiatant commands are also available as context menu commands when you right-click inside an SQL statement in SQL Editor.