Add column alter table mytable add name varchar(10) Delete column alter table mytable drop column name Modify column type alter table mytable alter column name nvarchar(10 )
Add multiple columns: alter table mytable add name varchar(10), add name2 varchar(10); you can continue to add modify alter table mytable modify name varchar(10), modify name2 varchar (10);You can continue to add
ALTER TABLE tablename ADD COLUMN column name data type, ADD COLUMN column name data type;
Add column
alter table mytable add name varchar(10)
Delete column
alter table mytable drop column name
Modify column type
alter table mytable alter column name nvarchar(10 )
Add multiple columns:
alter table mytable add name varchar(10), add name2 varchar(10); you can continue to add
modify
alter table mytable modify name varchar(10), modify name2 varchar (10);You can continue to add