1. Home
  2. Computing & Technology
  3. Databases

Deleting Database Tables with the DROP Command

By Mike Chapple, About.com

The DROP command allows us to remove entire database objects from our database. For example, if we want to permanently remove the personal_info table that we created, we'd use the following command:
DROP TABLE personal_info
Similarly, the command below would be used to remove the entire employees database:
DROP DATABASE employees
Use this command with care! Remember that the DROP command removes entire data structures from your database. If you want to remove individual records, use the DELETE command of the Data Manipulation Language.

Learning More

If you would like to learn more about the Structured Query Language, read Introduction to SQL or sign up for our free Learning SQL e-mail course.
Explore Databases
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Databases
  4. Learning SQL
  5. Dropping Database Tables; Deleting Database Tables>

©2009 About.com, a part of The New York Times Company.

All rights reserved.