Solved

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

Posted on 2004-10-08
2
279 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 250 total points
Comment Utility
Hi rsoble,

no, unless you drop the whole table and recreate

Cheers!
0
 
LVL 1

Author Comment

by:rsoble
Comment Utility
Thank you for the fast answer!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now