March 2001
Intermediate to advanced
640 pages
14h 9m
English
Now that you have seen how to add a table, you need to be able to remove or delete the table at the end of the lesson. To remove any object from the database, such as a table, you use the DROP operation. If you need to re-create a table or just remove it, you use the DROP TABLE statement as shown.
Drop table customer_demo
Caution
After you drop a table, it is gone forever. If you had a million rows in the table, they're gone. The server will let you drop a table even if it has rows in it. Unless you have a backup of the data, you have lost it completely.
Drop objects only when you are really sure that you don't need them.
Read now
Unlock full access