Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
is it possible to reindexing column names in SQL Server 2008 as we do in oracle.
can we alter columns order in already created table.
like:

Table_Name to Table_Name
Column1,column2,Column3,.... Column3,Column1,Column2,........

if is it possible then how and if not then why is it not possible, plz give solution with reason

Reply Fast. Its urgent

Thanks in Advance.
Posted

Yeah. Its possible.

Go to table design.
Then select the column you want to move.
Drag and drop to your new place.
 
Share this answer
 
Comments
DeepikaSrivastava 7-Apr-11 0:38am    
okh, Thanks for above solution, we can not change order of columns permanently. i want ALTER sql for it to make changes permanently.
Although it's possible to change the order of columns in Management Studio, there should be no need to do this. From SQL point of view the order of columns doesn't matter. So why are you trying to do this? Perhaps because of some other problem?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900