i have table structure with 3 colums (column1, column2, column3) and i want to put another column with sql statement like:
alter table tbl_name add column4
but i need to put it between column1 and column2
may i do something like in MYSQL:
alter table tbl_name add column4 after column1
I don’t think SQL Server allows you to do anything like that. If you want to put a column in the middle, you’ll need to create a new table with the desired layout, migrate the data, delete the old table, and rename the new table.