Create and edit table structure / Copy and rename tables
Copy multiple selected tables
Select several tables, preview their new names together, and choose the copy options once for the whole batch.
Where to open it
Object tree → select two or more tables → Table → Copy Table, or right-click the selection → Copy Table
Shortcuts and controls
The existing table action opens the batch dialog when two or more tables are selected in the object tree.
| Action | Windows / Linux | macOS | Focus and effect |
|---|---|---|---|
| Open Copy Table | Ctrl+Alt+Shift+C | ⌘+⌥+Shift+C | Use the object-tree selection in the active database/Schema. |
| Review naming and options | Dialog controls | Dialog controls | Edit prefix/suffix and the shared copy options; the name preview updates live. |
| Submit / cancel | OK / Cancel | OK / Cancel | OK validates destinations and starts the operation, subject to any further confirmation. Cancel closes the setup without submitting it. |
- Settings → Shortcuts can override the main-window defaults. There is no separate default shortcut for the batch naming rules.
Before you start
Use the intended connection, database and Schema. Select actual table items and ensure you can read the sources and create the destination objects.
Follow these steps
- Select two or more tables in the object tree and choose Copy Table. Copy Selected Items shows the selected count; confirm every source in the Original name column.
- Enter a Prefix, a Suffix, or both. The batch dialog starts with _copy as the suffix and generates prefix + original table name + suffix for every selected table.
- Review Copy Options. Copy table structure is required. Choose whether to copy table data, indexes, foreign keys, triggers, and stored procedures and functions where available. The same choices apply to every selected table.
- Compare every Original name / New name pair. For example, new_table7_test1_test3_test1 becomes new_table7_test1_test3_test1_copy. Resolve empty, duplicate or unchanged destination names and any existing-name conflicts.
- Choose OK for the intended batch, or Cancel to leave the setup. OK checks destinations and starts copying; it does not open the structure editor’s Save Changes / SQL Preview flow.
- Review progress and any errors, then refresh the target tree and check each new table, its structure, the selected data scope and any requested related objects.

Example
With an empty prefix and suffix _copy: new_table7_test1_test3_test1 → new_table7_test1_test3_test1_copy; new_table7_test1_test6_test1 → new_table7_test1_test6_test1_copy; new_table7_test1_test4 → new_table7_test1_test4_copy.What to expect
Each successfully copied table appears under its previewed new name in the same database/Schema. The original tables remain available. Verify the destination contents and definitions after completion.
Scope and limits
- The preview lists generated names and is read-only; change the naming rule to update it. Every copied item needs a new, nonempty, unique destination name.
- Copy options and related-object coverage depend on the engine, permissions and definitions. A checked option does not guarantee that all dependencies, grants or routines can be duplicated.
- Copies run one table at a time. An error or cancellation can leave completed or partial destinations; inspect them before retrying. This operation does not promise a consistent backup or an automatic rollback of the whole batch.
If something goes wrong
- OK disabled: add or adjust a prefix/suffix so every generated name changes and the destination names are nonempty and unique.
- Destination already exists: choose another naming rule and reopen the operation if the source database or Schema changed.
- Missing data or related objects: check the chosen options, engine support, permissions and reported errors; verify the actual new tables before retrying.