SqlOtter Documentation and SQL Guides
Learn to connect over SSH, browse tables, use the SQL editor, compare results, and export data. Each guide explains prerequisites, steps, and checks.
Install
- Install SqlOtter from the command line
Install Lite Mini or Full on Windows, macOS, or Linux.
Connect & organize
- Connections, SSH, and saved profiles
Configure a server or SQLite file, test access, manage saved profiles, and confirm the database you opened.
- Find database objects
Find a table in the current tree, use Go To Table across known targets, or return through opened, recent, and favorite lists.
- Workspaces and session restore
Create a named working context, choose how to open it, and check the database tabs, table snapshots, and SQL state brought back by restore.
Work with data
- Browse and edit table data
Browse, filter and edit table data, expand wide tables fullscreen, and use Escape to handle editing and selection one layer at a time. Switch tabs and workspaces with quick-navigation shortcuts.
- Edit rich field values
Use structured editors for text and JSON, preview BLOB images, video, audio, and documents, or inspect supported geometry values.
- Find a Redis key and read its contents
Select the logical database, locate a key, and use Key Content and Key Info to inspect it.
Write & reuse SQL
- Write SQL in the editor
Draft SQL against the editor’s own target, then review formatting, completion, search and file actions before execution.
- Run SQL and inspect execution reports
For relational SQL, run a selection or document directly; use Custom Execution to review statement scope, parameters, policies and source-linked outcomes.
- Read query plans and SQL diagnostics
Review declared estimated plans, database diagnostics, and metadata checks with their actual limits.
- Pin and compare query results
Pin loaded rows in the editor, compare snapshots, draw a small chart, or return to the source SQL.
- Save, reuse, and version SQL scripts
Keep named workspace scripts, saved history, local copies, file revisions, and shared scripts in their intended scopes.
- Browse local Git SQL projects
Inspect SQL files, local branch state, and diffs without leaving the workspace.
- Share SQL through a team library
Publish named queries explicitly, review revisions, and let teammates load a shared script manually.
Manage objects
- Create and edit table structure
Create and edit table definitions with SQL Preview, or use the task guides to copy and rename multiple selected tables with a live naming preview.
- Manage indexes and constraints
Inspect keys and indexes, create an index on an existing table, and review staged foreign-key changes with the correct engine and cancellation boundaries.
- Inspect views, routines, and triggers
Inspect views, procedures, functions, table triggers, sequences and events through the entry actually offered for the selected engine.
- Manage databases and inspect state
Choose database and Schema operations by engine, inspect metadata, sessions, users and variables, and understand where lifecycle, grants and maintenance start changing the server.
- Explore database relationships
Inspect loaded table/field metadata and relational foreign keys, with scoped selection, search, layout and diagram-local navigation.
Move & preserve data
- Import and export data
Choose table/database scans or loaded SQL results for export, and review the separate SQL and positional CSV input flows.
- Archive backup and native restore
Review source scope, archive files, native restore targets, destructive defaults, integrity checks and committed partial changes.
- Review archive and online migration with CDA
Choose the exact source → target direction, review tables, names, types and object losses, then verify the actual target independently.
Assistance & preferences
- Use AI with explicit context and review
Configure an approved provider, inspect what will be disclosed, and review explanations or SQL drafts before using them.
- Check target and impact before acting
Check connection, database, Schema and editor targets, then follow the specific preview, confirmation, cancellation and verification path for SQL, structure changes, restore or sharing.
- Set up your daily desktop preferences
Search Settings and choose a dedicated page guide for controls, source defaults, save timing and refresh scope; keep this overview for shared entry and Apply/OK/Cancel behavior.
- Look up database capabilities
Compare 46 capabilities in seven workflows, including online migration (MO), separate backup and restore, object coverage and administration.