SqlOtter

Browse and edit table data / Edit records

Delete records or discard a pending row

Distinguish deleting an existing record from removing a local pending row.

Where to open it

Select records in the focused grid → Delete Record.

Default shortcuts

Check selected rows and persistence state before using deletion or pending-row cancellation keys.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Delete selected recordsCtrl+Delete⌘+DeleteFocus the grid to enter the deletion flow. Persisted rows and pending new rows are handled differently.
Request deletion inside the gridDelete / BackspaceDelete / BackspaceIn the focused grid outside text editing, enter row deletion; in a text input these keys still edit text.
Discard pending new rowsEscEscIn the pending-row grid context, open Confirm Cancel; confirmation discards local pending rows.
  • 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.

Before you start

Open Table Content with write permission and a usable row identity. Rehearse changes with disposable demo records.

Follow these steps

  1. Check the target table, selection, and record keys.
  2. Choose Delete Record from the table menu.
  3. For existing records, read the deletion confirmation and cancel if its scope is unexpected.
  4. After a confirmed deletion, read the result and refresh to check the remaining records.

Confirm deletion of an existing row

The confirmation belongs to a persisted row and reports the selected-row count before the database write.

SqlOtter new_table with grid row 5 and id 16 selected behind a complete Confirm deletion dialog stating that 1 row is selected, with No and Yes buttons.
The existing-row deletion confirmation is open over new_table. Grid row 5 with id 16 is selected, and the dialog reports 1 selected row before the database write.
  1. Select only the existing row you intend to remove and check its key in the grid. The supplied capture selects grid row 5 with id 16 in new_table.
  2. With the grid focused, choose Delete Record or use its configured shortcut. Read the Confirm deletion dialog and verify that it says one selected row.
  3. Choose No when the table, key, or count is unexpected. Choose Yes only after confirming the scope, then read the database result and refresh before treating the row as gone.
  • The screenshot proves the visible confirmation state, not a successful DELETE, a rollback, or a later reload.
  • Foreign-key constraints, permissions, stale row identity, or a changed record can make the confirmed write fail.

Discard a pending new row

A pending row has not been inserted, so Confirm Cancel removes local grid state rather than deleting a database record.

SqlOtter new_table with a pending grid row 21 and blank key cell behind a complete Confirm Cancel dialog warning that the new row data will not be saved.
The cancellation confirmation is open for a local pending row. Grid row 21 follows the 20 stored rows, has a blank key cell with a save indicator, and the dialog warns that the data will not be saved. Historical screenshot; UI icons have been updated.
  1. Keep the pending row selected and check that its key cell is blank or still carries the row save indicator. The supplied capture shows grid row 21 below the 20 stored rows.
  2. Press Esc in the focused pending-row grid, or use the configured cancel action, to open Confirm Cancel.
  3. Read the warning that the data will not be saved. Choose Yes to discard the local row, or No to keep reviewing it for an explicit save.
  • The screenshot shows a local pending row and the cancellation dialog; it does not prove the row was discarded or that any database row was changed.
  • Do not mix pending and persisted rows when learning the workflow. Save a pending row explicitly if it should become a database record.

What to expect

A successful database deletion removes existing selected records; a pending new row can be discarded locally.

Scope and limits

  • Deleting an existing record is a database write and has no universal undo guarantee.
  • Removing a pending new row does not delete a stored database record. Avoid mixing pending and existing rows when learning the workflow.
  • Permissions, foreign-key constraints, and row identification affect whether deletion is available and succeeds.

If something goes wrong

  • If the operation fails, check row identity, write permission, constraints, and the database message. If the write outcome is uncertain, reload before retrying.