Improve company productivity with a Business Account.Sign Up

x
?
Solved

ALTER TABLE: insert a field and specify location of new field

Posted on 2004-10-08
2
Medium Priority
?
340 Views
Last Modified: 2011-04-14
I have an existing table with several fields.  I want to alter the table to insert a new field in a specific location, say, after the third existing field.  Is there a way to specify on the add where the new field is put?  Thanks.
0
Comment
Question by:rsoble
2 Comments
 
LVL 6

Accepted Solution

by:
boblah earned 1000 total points
ID: 12260074
Hi rsoble,

no, unless you drop the whole table and recreate

Cheers!
0
 
LVL 1

Author Comment

by:rsoble
ID: 12260117
Thank you for the fast answer!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
In this article, we will see two different methods to recover deleted data. The first option will be using the transaction log to identify the operation and restore it in a specified section of the transaction log. The second option is simpler and c…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

608 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question