mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-02 05:42:41 +02:00
SQL roadmap drop table keywoard highlight (#6759)
highlight - by transforming to bold - words that are crucial to be stressed on
This commit is contained in:
committed by
GitHub
parent
a22d54dbb4
commit
b4868b71b3
@@ -1,9 +1,9 @@
|
|||||||
# Drop Table
|
# Drop Table
|
||||||
|
|
||||||
The `DROP TABLE` statement is a Data Definition Language (DDL) operation that is used to completely remove a table from the database. This operation deletes the table structure along with all the data in it, effectively removing the table from the database system.
|
The `DROP TABLE` statement is a Data Definition Language (DDL) operation that is used to **completely remove** a table from the database. This operation deletes the table structure along with **all the data in** it, effectively removing the table from the database system.
|
||||||
|
|
||||||
When you execute the `DROP TABLE` statement, it eliminates both the table and its data, as well as any associated indexes, constraints, and triggers. Unlike the `TRUNCATE TABLE` statement, which only removes data but keeps the table structure, `DROP TABLE` removes everything associated with the table.
|
When you execute the `DROP TABLE` statement, it eliminates both the table and its data, as well as any associated indexes, constraints, and triggers. Unlike the `TRUNCATE TABLE` statement, which only removes data but keeps the table structure, `DROP TABLE` removes everything associated with the table.
|
||||||
|
|
||||||
Learn more from the following resources:
|
Learn more from the following resources:
|
||||||
|
|
||||||
- [@article@DROP TABLE](https://www.w3schools.com/sql/sql_drop_table.asp)
|
- [@article@DROP TABLE](https://www.w3schools.com/sql/sql_drop_table.asp)
|
||||||
|
Reference in New Issue
Block a user