Back to course home
0% completed
DROP
DROP
In SQL, the DROP
statement is used to remove or delete database objects, such as tables, or databases.
Here are a few common uses of the DROP
statement:
-
Drop a table
You can delete a table in sql by using the drop command.
DROP TABLE table_name;
By specifying the name of table you want to delete, this command will delete the table and its associations.
-
Drop a database
A database can also be deleted by using the
DROP
command. All the table of the database will also be deleted.
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible