Deleting a Table on the DLI Console
You can delete an unused data table from the DLI console: when a data table is no longer needed, such as after a test data table has completed testing; if a data table has errors or anomalies that cannot be fixed; when there is a need to reorganize the data structure, such as by modifying table designs; or if a data table is idle and has no practical use.
This section describes how to delete a data table on the DLI management console.
Precautions
- Databases or tables that are being used for running jobs cannot be deleted.
- Only administrators, table owners, and users with table deletion permission can delete tables.Note
Deleted data tables cannot be restored. Exercise caution when performing this operation.
Deleting a Table
You can delete a table on either the Data Management page or the SQL Editor page.
- On the Data Management page
- In the navigation pane on the left of the console, choose Data Management > Databases and Tables.
- Locate the database whose tables you want to delete and click its name.
- On the displayed page, select the table you want to delete, click More in the Operation column, and select Drop Table.
- In the displayed dialog box, click Yes.
- On the SQL Editor page
- In the navigation pane on the left of the console, choose SQL Editor.
- In the middle pane, click the Databases tab. Click the name of the database whose tables you want to delete.
- Click
next to the table to delete and select Delete.
- In the Drop Table dialog box that appears, click OK.
Parent topic: Managing Table Resources on the DLI Console
- Precautions
- Deleting a Table