SqlOtter
← All documentationWrite & reuse SQL

Write & reuse SQL

Share SQL through a team library

Publish named queries explicitly, review revisions, and let teammates load a shared script manually.

What this feature does

Sign in to a team library, review its scope, then publish only after checking the SQL content.

When to use it

Use this when a team intentionally wants to publish and reuse selected SQL through its account library.

Team library flow showing explicit publish, review, and manual load steps.
Conceptual workflow diagram; this is not a captured SqlOtter screen. Release-matched screenshots are still pending.

Before you start

Sign in and reach the account service. Published SQL is readable by library members.

Default shortcuts

Team sharing uses explicit team-library actions; the editor save shortcut writes local saved history.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Open Shared Team LibraryNo dedicated defaultNo dedicated defaultUse the team entry in AI & Sql Editor / SQL Script Library; no dedicated default is assigned.
Publish, update, or download a team scriptNo dedicated defaultNo dedicated defaultChoose the explicit role-appropriate action and handle publication prompts inside the team library; no automatic-publication shortcut is assigned.
Save SQL to saved historyCtrl+S⌘+SFocus the SQL Editor to save to its workspace saved history; this is separate from saving a .sql file or publishing a team script.
  • 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.

How to use it

  1. Sign in and open Shared Team Library.
  2. Create a library or join with an invitation code from its owner.
  3. Review the SQL for secrets, then explicitly publish and confirm it.
  4. A teammate refreshes the library and chooses Load Into Editor.

What to expect

The library lists the explicitly published SQL for eligible members to refresh and load.

Limits and safety

  • Current members can read published SQL; the service does not redact credentials automatically.
  • Publishing does not upload local history or automatically replace a teammate’s editor content.

If something goes wrong

  • If the library cannot be opened, check sign-in state, team membership, service availability, and the account’s role.
  • If publishing is rejected, verify the selected library and review the SQL for secrets; sharing must remain a deliberate user action.