How To Change Column Ordinal Position in SQL Server 2005
using Query i.e I Want To Add Column at Particular Ordinal
Position in SQL Server 2005

Answer Posted / bruhaspathy

You cannot add a column at that particular position that you wanted. Instead the workaround is that you add the column using the Alter Table command and then after the columns are created, you can go to object explorer and right click the table, select modify and then move the column to the desired column location you wanted.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me in brief how sql server enhances scalability of the database system?

729


What are rest-style architecture's?

163


If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?

739


How to join two tables in a single query in ms sql server?

729


Can we call future method from queueable?

767


Can binary strings be used in arithmetical operations?

705


How does clustered and non clustered index work?

691


What is hot add cpu in sql server 2008?

710


How can you know if the row fetched from cursor is still valid in underlying table?

771


How to locate and take substrings with charindex() and substring() functions?

711


How do clustered indexes store data?

816


What are the differences between user defined functions and stored procedures?

763


Explain sub-query?

740


What is surrogate key? : sql server analysis services, ssas

875


How can sql injection be stopped? : sql server security

732