edit-icon download-icon

Delete a table

Last Updated: Mar 01, 2018


In a relational database, you can use the DROP TABLE statement to delete data tables that are no longer needed as follows.

  1. DROP TABLE UserHistory;

Table Store

In Table Store, you can use the DeleteTable API to delete one data table at a time as follows.

  1. DeleteTableRequest request = new DeleteTableRequest(TABLE_NAME);
  2. client.deleteTable(request);

Note: Once a table is deleted, it cannot be recovered.

Thank you! We've received your feedback.