mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-07-31 14:30:13 +02:00
Update 101-alter-table.md (#5830)
This commit is contained in:
@@ -71,5 +71,5 @@ To drop PRIMARY KEY:
|
|||||||
```sql
|
```sql
|
||||||
ALTER TABLE table_name
|
ALTER TABLE table_name
|
||||||
DROP PRIMARY KEY;
|
DROP PRIMARY KEY;
|
||||||
|
```
|
||||||
In conclusion, `ALTER TABLE` in SQL lets you alter the structure of an existing table. This is a powerful command that lets you dynamically add, modify, and delete columns as well as the constraints placed on them. It ensures you are more flexible in dealing with changing data storage requirements.
|
In conclusion, `ALTER TABLE` in SQL lets you alter the structure of an existing table. This is a powerful command that lets you dynamically add, modify, and delete columns as well as the constraints placed on them. It ensures you are more flexible in dealing with changing data storage requirements.
|
||||||
|
Reference in New Issue
Block a user