Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Adding a New Column

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-03-20 : 09:52:25
Sanjeev Dhiman writes "Sir,
How I can add a new column between existing two column...?


Sanjeev Dhiman"

nr
SQLTeam MVY

12543 Posts

Posted - 2007-03-20 : 10:05:53
Copy the data to a new table? You will have a reorganise the table so..
Why do you care about the column order?
How about renaming it and accessing via a view?

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

pareshmotiwala
Constraint Violating Yak Guru

323 Posts

Posted - 2007-03-20 : 12:39:07
Did you just try modifying the table? Right click on table/modify in SQL 2005.
in earlier versions you have to right click on the table/design..
Hope this helps.
Go to Top of Page
   

- Advertisement -