Deleting a Database or a Table
You can delete unnecessary databases and tables based on actual conditions.
Precautions
- You are not allowed to delete databases or tables that are being used for running jobs.
- The administrator, database owner, and users with the database deletion permission can delete the database. The administrator, database owner, and users with the table deletion permission can delete the table.
If a database or table is deleted, it cannot be recovered. Exercise caution when performing this operation.
Deleting a Table
- Delete the table on the Data Management page.
- On the left of the management console, choose Data Management > Databases and Tables.
- Locate the row where the database whose tables you want to delete, click the database name to switch to the Table Management page.
- Locate the row where the target table resides and click More > Drop in the Operation column.
- In the dialog box that is displayed, click OK.
- Delete a table on the SQL Editor page.
- On the top menu bar of the DLI management console, click SQL Editor.
- In the navigation tree on the left, click Databases. Click the name of the database whose table is to be deleted. The tables in the selected database are displayed.
- Click
on the right of the table and choose Drop Table from the shortcut menu. - In the dialog box that is displayed, click OK.
Deleting a Database
- On the left of the management console, choose Data Management > Databases and Tables.
- Locate the row where the target database resides and click More > Drop Database in the Operation column.
You cannot delete databases that contain tables. To delete a database containing tables, delete the tables first.
- In the dialog box that is displayed, click OK.
Last Article: Creating a Database or a Table
Next Article: Modifying the Owners of Databases and Tables
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.