Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / soorai ganesh

Hi Buddy,

Its not possible in SQLSERVER. If u want to add column in
particular ordinal position you have to drop the table and
have to create again the same table with your ordinal
choice. Incase if u have data in table, get them into one
temporary table and drop the table and recreate the table
again. then restore the data from temporary table..........

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More SQL Server Interview Questions

What is resource db in sql server?

0 Answers  


What is the difference between a stored procedure and a user defined function?

0 Answers  


How do I shrink an ldf file?

0 Answers  


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

0 Answers  


how to find the second salary?

10 Answers   HCL, Prithvi,


What causes index fragmentation?

0 Answers  


What are the differences between ms sql server & oracle?

0 Answers  


What is an inner join?

0 Answers  


Explain “not null constraint” in sql server?

0 Answers  


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

0 Answers  


What are the new security features added in sql server 2012? : sql server security

0 Answers  


What is the correct order of the logical query processing phases?

0 Answers  


Categories