Possible Duplicate:
SQL Server 2008 : Cannot Insert new column in the middle position and change data type
Hi i am using SQL SERVER 2008 & 2008 R2 i would like to add a column in a table at a specific position using alter command. is there any way keyword using which we can add a column at a specific position ? thanks! in adavanced.
Best Answer
Not very easy in sql server..
I think the best way is to add the column at the end of the table and create a view with desired order of columns..
another option..
put all the data in a temp table and recreate the actual table with correct column order, then insert the data back to the actual table from temp table