Browse and edit table data / Copy and continue
Copy a value or an INSERT statement
Choose the copy action that matches the data representation you need.
Where to open it
Right-click a cell or selected records → Copy Cell Value, Copy Cell Display Value, or Copy INSERT Statement.
Default shortcuts
General copying, JSON row copying, and INSERT-text copying have distinct scopes and do not write to the database.
| Action | Windows / Linux | macOS | Focus and effect |
|---|---|---|---|
| Copy the current selection | Ctrl+C | ⌘+C | Behavior depends on focus, selection, and view. Use the explicit cell menu when choosing raw versus displayed values. |
| Copy selected rows as JSON | Ctrl+Shift+C | ⌘+Shift+C | Focus the table and select rows; visible columns and loaded content affect the output. |
| Copy selected rows as INSERT statements | Alt+C | ⌥+C | Focus the grid and select records; generate clipboard text without executing SQL. |
| Explicitly copy a raw or displayed value | No dedicated default | No dedicated default | Choose Copy Cell Value / Copy Cell Display Value in the cell menu; displayed-value copying has no separate default. |
- 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
Use a connection with read permission. Keep the intended database and table selected; available actions depend on the engine and field metadata.
Follow these steps
- Select the intended cell or records and open the context menu.
- Choose Copy Cell Value for the ordinary cell value, or Copy Cell Display Value for a converted display value.
- For supported records, choose Copy INSERT Statement to obtain SQL text.
- Paste into a local editor and inspect columns, values, NULL handling, and target dialect before reusing the text.
Inspect the generated INSERT text
Copy INSERT Statement generates text for the selected loaded rows; inspect it before deciding whether to run it elsewhere.

- Select the intended loaded rows and choose Copy INSERT Statement, or use Alt+C / ⌥C with the grid focused.
- Paste the clipboard into a local editor. The supplied example contains visible columns id, new_column, and remark for d1.new_table, with rows 20 / Test 6 / Remark 6, 18 / Test 2 / Remark 2, and 16 / Test 3 / Remark 3.
- Check the qualified table name, visible column order, quoting, NULL markers, escaped quotes, generated or unique keys, and the target engine dialect before execution.
- Run the SQL only after reviewing it in the intended database context; copying itself does not submit or execute the statement.
- The supplied editor capture shows generated SQL text only. It does not establish that the statement was executed or that any row was inserted.
- The builder reads visible grid cell text and emits one VALUES group per selected row. Hidden columns and unloaded pages are outside this captured output.
What to expect
The selected representation is placed on the clipboard; copying an INSERT statement does not execute it.
Scope and limits
- Copied grid text can contain shortened display values. Inspect full or binary fields when fidelity matters.
- Review identity, uniqueness, and engine syntax before executing copied SQL elsewhere.
If something goes wrong
- If an action is unavailable, check the selected object and supported source. Review the output scope before relying on copied or exported data.
