SqlOtter

Write SQL in the editor

Draft SQL against the editor’s own target, then review formatting, completion, search and file actions before execution.

When to use this

The SQL Editor keeps query text and an execution target together. Editing text does not run it or save a local file.

Use it to compose or revise a query while checking the connection and database it would use.

Before you start

Open the intended workspace and database tab. Keyword and snippet suggestions can work without metadata; table and column suggestions need a matching database context.

Steps

  1. Choose AI & Sql Editor → Open Sql Editor (default Ctrl+Shift+U / ⌘+Shift+U). Opening from a current table can fill a short SELECT; review any existing text before changing it.
  2. Draft a read-only query for a demo target, or explicitly load a local SQL file. Use completion or a snippet to insert text, then review the resulting names and syntax.
  3. Use Format SQL for the document or open Find and expand its Replace controls for text edits. Formatting changes the document text; neither action runs SQL.
  4. Before using an execution action, compare the editor’s connection/database status with the intended database tab and Schema. The editor target is carried into execution; a mismatch prompts for confirmation.

How to verify the result

The editor shows the reviewed SQL text and connection/database context. The query remains unexecuted until an execution action is chosen.

Troubleshooting

Limits

Related guides