SqlOtter
← All featuresWrite & reuse SQL

Write & reuse SQL

Choose what to run and review what happened.

Run reviewed relational SQL directly or use Custom Execution for scope, parameters, policy and per-statement outcomes.

A 2026 Build 1010 local_mysql / test capture shows scope and policy review; a companion report shows three succeeded SELECT statements. Run submission, report-row navigation, other policies and engines, and release verification remain pending.

How it works

Ordinary Execute Query uses the current selection or document. Custom Execution reviews the target and exact scope before a supported relational run.

A quick walkthrough

  1. Check the editor target and selected SQL before ordinary execution; use Execute Statement at Cursor only when a safe statement boundary is found.
  2. Open Custom Execution... to review target, scope, preview, values and policies; inspect its latest source-linked outcomes after Run.
Review SQL Execution dialog for local_mysql / test, with Entire script, Commit each statement, Stop at first error, No timeout and a three-SELECT preview.
Real Custom Execution review dialog for three SELECT statements on local_mysql / test. Docs also shows their separate three-row statement report. Historical screenshot; UI icons have been updated.

Default shortcuts

These defaults depend on the active SQL Editor mode and focus. Ordinary execution, Custom Execution, cursor-statement execution and Terminal Mode have distinct scopes.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Execute the selection or documentCtrl+Enter⌘+EnterIn normal relational SQL mode, use the editor target and execute selected text, or the document when nothing is selected; no Custom Execution dialog opens.
Execute the statement at the cursorCtrl+Alt+Shift+Enter⌘+⌥+Shift+EnterOnly in normal relational mode; split and run the statement at the caret when a safe boundary is found.
Open custom execution optionsCtrl+Alt+Enter⌘+⌥+EnterOpen the reviewed Custom Execution dialog for supported relational targets; confirm Target, Run scope and SQL preview before Run.
Alternative normal-execution bindingsCtrl+Shift+Return / Ctrl+Shift+Enter⌘+Shift+Return / ⌘+Shift+EnterSame ordinary selection/document action; Return and Enter matching depends on keyboard and platform.
Open query execution historyCtrl+Shift+H⌘+Shift+HOpen application query execution history, which is separate from the latest custom statement-outcomes report and saved SQL history.
Toggle Terminal ModeCtrl+Alt+Shift+T⌘+⌥+Shift+TSwitch SQL Editor layout to Terminal Mode where supported. Redis keyspaces require their native command path.
Submit a terminal commandEnterEnterSubmit only the current Terminal Mode prompt command; it is separate from normal editor document execution.
Cancel terminal input / request interruptionCtrl+CControl+CIn Terminal Mode, physical Control+C on macOS cancels current input or requests worker interruption; it does not guarantee rollback.
View latest statement outcomesNo dedicated defaultNo dedicated defaultAfter a custom or cursor-statement run, use View Last SQL Execution Report in the editor menu or the result-toolbar outcomes button.
Request custom-query cancellationCancel Query buttonCancel Query buttonUse the progress dialog during a custom relational run; a driver may complete the active statement after the request.
  • Settings → Shortcuts shows configurable bindings; customized keys take precedence. Fixed dialog keys and mouse gestures may be managed by their own controls.
  • On macOS, ⌘ means Command and ⌥ means Option. Function keys may require Fn. Delete means forward delete (often Fn+⌫ on a compact Mac keyboard); use the menu when Insert is unavailable.

Objects in this workflow

  • SQL statement
  • Query result

What to know

  • Ordinary execution does not create the structured custom statement-outcomes report; application Query Execution History is separate.
  • Cancel and timeout are requests, and script rollback depends on the target and statements. Redis uses native Terminal Mode; MongoDB follows its query-service path.

Try it now

Put database work back into one focused workspace.

Start a Personal trial ↗