Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: How to reorder fields in a table

Re: How to reorder fields in a table

From: Daniel A. Morgan <Daniel.Morgan_at_attws.com>
Date: Mon, 23 Jul 2001 13:34:42 -0700
Message-ID: <3B5C8A62.33FBE4FC@attws.com>

ewarmoth wrote:

> When I alter a table to add new fields, the fields are put at the end of
> the table. Is there a way to add a field between two existing ones? Or
> am I stuck with them at the end?
>
> If I were to drop the table and re-create it, I would lose the data,
> right?
>
> Thanks very much,
> Emily

The order of fields in a table is irrelevant to any process so I'd just forget it and not try to make a lot of work for yourself.

If you drop a table of course the data is lost. You can, of course, rename the table then use its contents to load the new table before dropping it.

But it is still a waste of time and introduces risk without any possible benefit.

Daniel A. Morgan Received on Mon Jul 23 2001 - 15:34:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US