SqlOtter
← All featuresManage objects

Manage objects

Inspect the database logic around your tables.

Inspect views, procedures, functions, table triggers, sequences and events through the entry actually offered for the selected engine.

The initial image pair is complete: an authentic Procedures overview and a separate function configuration in Docs. Physical keyboard/engine workflows, actual server outcomes and named-release acceptance remain pending.

How it works

Open Procedures for supported database/schema routines and Triggers for one table. Inspect views, sequences and scheduled events through deliberately targeted engine SQL; each path has its own save and execution boundary.

A quick walkthrough

  1. Select an existing table and check connection, database and Schema before Edit table structure → Procedures / Triggers. The overview targets test.test_review_note: its main list is empty and the right-hand panel contains local history; bigint search reads 1/2. History items are not current server-list rows.
  2. Prepare a procedure or function with Add Procedure. The separate test.test_docs form in the guide shows MySQL add_numbers, a and b as IN INTEGER, a checked function option, INTEGER return and RETURN a + b. Test Syntax checks the payload; OK immediately attempts a save without SQL Preview.
  3. Prepare a trigger through Add or double-click. Existing-table OK/Delete apply directly; new-table triggers stay staged for main Save Changes → SQL Preview → Execute.
  4. Use the SQL Editor’s own target for view definitions, sequence catalog inspection and MySQL scheduled events. Reading a definition or archive inventory does not run that object.
  5. After an intentional operation, inspect actual feedback and freshly read source. List Execute has no parameter-value form; routine history and Cancel/Discard have separate local/pending scopes.
Complete Procedures tab for test.test_review_note: an empty Name / Type / Parameters / Created / Modified table, a right-hand local history panel with test selected, bigint search at 1/2, Add Procedure / Edit / Delete / Refresh / Execute, and disabled Save Changes.
Authentic Procedures overview for test.test_review_note. The main list is empty; the right panel shows local history, with test selected, while bigint search reads 1/2. The five column headings, Add Procedure / Edit / Delete / Refresh / Execute and disabled Save Changes are visible. History entries and search matches are not server objects or execution results. This is a separate context from the separate test.test_docs function form in the guide; its engine and build are not shown. Historical screenshot; UI icons have been updated.

Default shortcuts

Use the labeled controls for routine/trigger actions. Main-workspace bindings, structure search, form defaults and SQL Preview each have their own focus boundary.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Find an available commandAlt+F1⌥+F1Main workspace Go To Action. Choose a real available action; this does not open a common programmable-object manager.
Open Edit table structureAlt+Enter⌥+EnterSelected object-tree table; check database/schema and dialog title. Show Structure is a different read-only view.
Tree-focused structure entryCtrl+Enter⌘+EnterObject tree itself focused. The tree-filter input opens a match instead; SQL Preview uses this chord to execute.
Open Procedures or TriggersClick the tabClick the tabAvailable structure-dialog tab: routines are database/schema scoped, triggers are table scoped. No Procedures tab for a new table.
Inspect a routineEdit / double-click rowEdit / double-click rowSelect the main Procedures row first; opens an editable form. Cancel after inspection.
Prepare a routineAdd ProcedureAdd ProcedureOpens Create Stored Procedure; checking the function box enables Return Type where supported. No dedicated default key.
Declare or remove a parameterAdd Parameter / row-menu DeleteAdd Parameter / row-menu DeleteRoutine form declaration table only. Does not enter execution argument values; no shared physical Delete binding is confirmed.
Check routine payloadTest SyntaxTest SyntaxForm data / dialect statement construction only; not server syntax, permission or execution acceptance.
Save a routine formOKOKImmediately attempts create/update/rename after acceptance. No parent preview. Default OK is not a universal Enter shortcut with code-editor focus.
Call a selected routineExecuteExecuteMain Procedures row; immediate zero-argument call, no argument-value dialog or SQL Preview. SQL Server function types have limits.
Drop a selected routineDelete → confirmationDelete → confirmationMain Procedures list: Yes attempts server DROP; No stops. PostgreSQL dependent functions may ask a second cascade question.
Prepare / inspect a triggerAdd / double-click rowAdd / double-click rowTriggers tab and target table; double-click loads an existing body. No dedicated add/edit key.
Accept a trigger formOKOKExisting table: immediate DDL attempt. New table: staged. The form defaults to Cancel; use the labeled button deliberately.
Remove a triggerDelete buttonDelete buttonSelected main Triggers row. Existing table drops immediately without a separate confirmation/preview; new-table rows change the draft.
Reload the object listRefresh buttonRefresh buttonUse the button in Procedures or Triggers for that list. A generic refresh key is not a confirmed substitute.
Find in the structure dialogCtrl+F; Enter / Shift+Enter⌘+F; Enter / Shift+EnterFocus the structure search input, then navigate matches in the active tab and its loaded content/history; not server discovery or object execution.
Review new-table trigger commandsMain Save Changes buttonMain Save Changes buttonDirectly opens combined SQL Preview for staged new-table commands. Existing-table trigger actions and routine saves do not wait for it.
Execute SQL PreviewCtrl+Enter / Ctrl+Return⌘+Enter / ⌘+ReturnSQL Preview text editor focused, no Shift/Alt, Execute enabled. Runs the reviewed SQL; Cancel stops before this boundary.
Leave an unaccepted formCancel / close controlCancel / close controlStops that form’s unaccepted edit; does not undo earlier server changes. Esc can first dismiss editor overlays.
Reuse or remove historyLoad to Editor / history DeleteLoad to Editor / history DeleteLocal history panel only. Recheck current schema/table before accepting a loaded draft; deleting history does not drop a server object.
Open the SQL EditorCtrl+Shift+U⌘+Shift+UCheck the editor-owned target. View/sequence/event SQL is explicit engine-specific work, separate from the routine/trigger forms.
  • Settings → Shortcuts can override configurable workspace bindings. No common add/edit/run/drop key spans these object types. The structure dialog’s Ctrl/Command+N and Delete bindings target fields, not routines/triggers; use object buttons.
  • With code or search focused, Enter/Esc can be handled by that editor or overlay. Use Cancel explicitly to stop a pre-submit form. Physical keyboard/engine workflows remain to be checked in the target build.
  • On macOS, ⌘ means Command and ⌥ means Option. Function keys may require Fn. Return and keypad Enter follow the focused control’s rules.

Objects in this workflow

  • View
  • Procedure
  • Function
  • Trigger
  • Sequence
  • Event

What to know

  • No common editor covers views, procedures, functions, triggers, sequences and events; a visible action is not a permission or success check.
  • Routine editing can omit signatures, simplify return types or drop before recreation. MySQL same-name replacement, PostgreSQL cross-schema/overload identity and SQL Server function Execute/Delete have explicit limits in Docs.
  • MySQL-family, PostgreSQL-family, SQL Server, Oracle / OceanBase Oracle and DM8 workflows differ. TDSQL and PolarDB mappings do not establish acceptance for every server version. All DM8 support depends on Python Wheel support from the DM8 vendor; follow-up is ongoing.
  • OceanBase MySQL disables routine UI; Snowflake omits Procedures/Triggers. SQLite opt-in routine metadata returns simulation; MongoDB/Redis do not expose this relational form flow.
  • Creating a trigger does not prove it fired. Closing the parent or Discard does not roll back completed routine or existing-table trigger actions.
  • Portable source definitions and backup/migration listings are not a promise to convert, execute or enforce those objects on a target engine.

Try it now

Put database work back into one focused workspace.

Start a Personal trial ↗