How do I add a column after another column within MS SQL by using SQL query?
TempTable
ID int,
Type nvarchar(20),
Active bit
NewTable
ID int,
Type nvarchar(20),
Description text,
Active bit
That is what I want, how do I do that
Add a column to the end of the table:
Add a column to the start of the table:
Add a column after an existing column:
For additional options, see MySQL’s ALTER TABLE documentation.