The DROP TABLE
command deletes a table in the database.
The following SQL deletes the table "Shippers":
DROP TABLE Shippers;
Note: Be careful before deleting a table. Deleting a table results in loss of all information stored in the table!
The TRUNCATE TABLE
command deletes the data inside a table, but not the table itself.
The following SQL truncates the table "Categories":
TRUNCATE TABLE Categories;
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!