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

Can you explain what is the use of custom fields in report?

0 Answers  


What are the instances when triggers are appropriate?

0 Answers  


Where can you find the error log information? : sql server database administration

0 Answers  


What is a group function explain with an example?

0 Answers  


How can you find out how many rows returned in a cursor?

0 Answers  


How do I find the query plan in sql server?

0 Answers  


What are the tool windows in sql server management studio? : sql server management studio

0 Answers  


Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?

0 Answers  


Explain time data type in sal server 2008?

0 Answers  


What is a deadlock and what is a live lock?

0 Answers  


Can we insert data into view sql server?

0 Answers  


Can we rewrite subqueries into simple select statements or with joins? Example?

2 Answers   ASD Lab,


Categories