SqlOtter

Browse and edit table data / Edit records

Distinguish NULL, an empty string, and a default

Use field metadata and the configured NULL representation to avoid changing meaning accidentally.

Where to open it

An editable cell or field editor, with its type/default/nullability information.

Default shortcuts

Editors and field types interpret these values; Delete, leaving input blank, or saving is not a universal Set NULL action.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Open the current cell editorEnterEnterFocus the editable grid cell; use the same field-routing path as a double-click.
Force the full field editorCtrl + left double-click⌘ + left double-clickOpen the full field editor; write access still depends on the field, row identity, and view.
Convert an empty editable cell to NULLUnmodified Backspace / Delete twice within 1.2 sUnmodified Backspace / Delete twice within 1.2 sKeep the empty editable cell or inline editor focused; after the prompt, press the same key again within 1.2 seconds. Read-only cells are excluded.
Set NULL, an empty string, or a defaultNo dedicated defaultNo dedicated defaultUse the field editor, corresponding menu, and metadata; no common dedicated default spans field types.
  • 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 whether the field permits NULL, has a default, or uses a generated identity.
  2. Keep an empty string when that is the intended text value; an empty-looking cell alone does not prove SQL NULL.
  3. On an editable empty cell or empty inline editor, press unmodified Delete or Backspace once and then the same key again within 1.2 seconds after the displayed prompt to convert it to the configured NULL value.
  4. Review the resulting value before accepting the edit or explicitly saving a pending new record.

Convert an empty editable cell to NULL

The repeated-key prompt is the explicit path from an empty editable cell to the configured NULL display marker.

SqlOtter blob_test table with id 114 selected and an empty new_column_10 cell, while a toast says to press Backspace again quickly to set the empty cell to NULL.
First-keypress state: id 114 in blob_test has an empty new_column_10 cell, and the visible prompt asks for a quick second Backspace to set it to NULL. Historical screenshot; UI icons have been updated.
SqlOtter blob_test table with id 114 selected and NULL displayed in the new_column_10 cell after the repeated Backspace action.
Repeated-key result: the same id 114 / new_column_10 cell now displays NULL. The prompt remains visible, while the image still shows an editing state rather than a saved database result. Historical screenshot; UI icons have been updated.
  1. Open an editable table cell and check the table, row key, column name, type, nullable setting, and default before changing it. The supplied capture shows blob_test, id 114, and an empty new_column_10 cell.
  2. With that empty cell focused, press Backspace or Delete once. The prompt asks you to press the same key again quickly; the first prompt alone does not prove that the cell is SQL NULL.
  3. Within the confirmation interval, press the same key again. The cell changes to the configured NULL display marker; review it before accepting the edit or saving a pending new record.
  4. If an empty string is the intended text value, keep the text empty without using the repeated-key conversion, then let the field and database constraints validate it.
  • The supplied images show the editor state and visible prompt/result, not a successful database write or a later reload.
  • The same-key confirmation is limited to an editable empty cell or empty inline editor; it is separate from deleting selected records.

What to expect

The edited value expresses the intended empty-string or NULL meaning, subject to database validation.

Scope and limits

  • The repeated-key interaction applies to an empty editable cell or its inline editor; deleting selected records is a separate action.
  • When saving a fresh Add New Record row, fields showing the configured NULL marker are omitted from the INSERT data, so a database default may apply instead of explicit NULL. This differs from editing an existing row; defaults and generated values depend on the field and engine.
  • Empty-string semantics depend on the database. For example, Oracle treats a zero-length character value as NULL.

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.