SQL DROP TABLE

 

SQL DROP TABLE

A SQL DROP TABLE statement is used to delete a table definition and all data from a table.

This is very important to know that once a table is deleted all the information available in the table is lost forever, so we have to be very careful when using this command.

Let's see the syntax to drop the table from the database.


  1. DROP TABLE "table_name";  

  1. SQL>DROP TABLE STUDENTS;  

No comments:

Post a Comment