多维表格

71 lines
2.7 KiB

---
title: 'Actions on table'
description: 'Learn how to rename, duplicate, and delete a table in NocoDB.'
tags: ['Tables', 'Rename', 'Duplicate', 'Delete']
keywords: ['NocoDB table', 'rename table', 'duplicate table', 'delete table']
---
## Rename table
1. Access the contextual menu for the table by clicking on the ellipsis symbol (`...`) located in the left sidebar.
2. Click on the `Rename` option from the context menu.
3. Enter the desired new table name into the provided field.
4. To finalize the renaming process, click on the `Rename` button.
![image](/img/v2/table/table-context-menu.png)
![image](/img/v2/table/table-rename.png)
## Change table icon
1. Click on the existing table icon to the left of the table name in the left sidebar.
2. Select the desired icon from the list of available options.
![image](/img/v2/table/table-change-icon.png)
## Duplicate table
1. Access the contextual menu for the table by clicking on the ellipsis symbol (`...`) located in the left sidebar.
2. Click on the `Duplicate` option from the context menu.
3. For additional customization (Optional)
a) Under `Include data`, you have the flexibility to choose whether to replicate the table with or without its data.
b) Regarding `Include views` you can select whether to duplicate the table with or without its associated views.
4. Proceed by clicking the `Duplicate Table` button found in the confirmation dialog.
A new table will be generated, mirroring the original table's schema and content, in accordance with the configurations specified in step 3.
![image](/img/v2/table/table-context-menu.png)
![image](/img/v2/table/table-duplicate.png)
:::info
- Duplicate table will be created in the same base as the original table
- Duplicate table will carry suffix ` Copy` in its name.
- Duplicate table option is not available for `External DB` projects
:::
## Delete table
:::danger
**This action cannot be undone.**
:::
1. Access the contextual menu for the table by clicking on the ellipsis symbol (`...`) located in the left sidebar.
2. Click on the `Delete` option from the context menu.
3. To finalize the deletion process, click on the `Delete` button in the confirmation dialog.
![image](/img/v2/table/table-context-menu.png)
![image](/img/v2/table/table-delete.png)
## Related articles
- [Create a new table](/tables/create-table)
- [Create a table using a CSV, Excel or a JSON](/tables/create-table-via-import)
- [Import data from Csv/Xlsx into existing table](/tables/import-data-into-existing-table)
- [Rename a table](/tables/actions-on-table#rename-table)
- [Duplicate a table](/tables/actions-on-table#duplicate-table)
- [Delete a table](/tables/actions-on-table#delete-table)