Changing the Column order/adding Newcolumn for existing Table in SQLServer2008

Posted by rmdussa on Stack Overflow See other posts from Stack Overflow or by rmdussa
Published on 2010-03-21T22:28:36Z Indexed on 2010/03/21 22:31 UTC
Read the original article Hit count: 391

Filed under:
|

Hi I have situation where I need to change the order of the columns/adding new columns for existing Table in SQLServer2008, It is not allowing me to do without drop and recreate. But That is in production system and having data in that table. I can take backup of the data, and Drop the existing table and change the order/add new columns and recreate it, insert the backup data into new Table. Is there any best way to do this without dropping and recreating.I think SQLServer 2005 will allow this process without dropping and recreating while changing to existing table structure. Thanks

© Stack Overflow or respective owner

Related posts about sql

Related posts about server2008