Utilizor
Contact Us

SQL Alter Table

Modify a table.

SQL ALTER TABLE Statement

The ALTER TABLE statement is used to add, delete, or modify columns in an existing table.

The ALTER TABLE statement is also used to add and drop various constraints on an existing table.

Add Column

ALTER TABLE table_name ADD column_name datatype;

Drop Column

ALTER TABLE table_name DROP COLUMN column_name;