Which command should you use to add a column to an existing table?
A. MODIFY
B. ALTER
C. UPDATE
D. INSERT
E. CHANGE
2 Comments on “Which command should you use to add a column to an existing table?”
Svensays:
MODIFY and CHANGE don’t exist, so they aren’t right.
INSERT adds data. But we want to add a column to an existing table, so that is not right.
ALTER table is correct.
4
0
avalon333says:
Alter is correct.
Example:
use TEST
ALTER TABLE dbo.Road
ADD Roadname varchar(255);
MODIFY and CHANGE don’t exist, so they aren’t right.
INSERT adds data. But we want to add a column to an existing table, so that is not right.
ALTER table is correct.
4
0
Alter is correct.
Example:
use TEST
ALTER TABLE dbo.Road
ADD Roadname varchar(255);
0
0