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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Portable way to DROP a COLUMN?..

Re: Portable way to DROP a COLUMN?..

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 22 Sep 2006 07:20:09 +0200
Message-ID: <7ds6h2d3jgng5r9ouo9tk1jk0eopql1pej@4ax.com>


On Thu, 21 Sep 2006 23:18:35 -0400, Mikhail Teterin <usenet+meow_at_aldan.algebra.com> wrote:

>It is (or ought to be "trivial") from the SQL syntax perspective. Table
>alterations are among the most obvious operations and should've been in the
>SQL syntax since very beginning -- unlike with the later-added extensions
>(such as Oracle's "LIKE_REGEX"), I see no excuse for the vendors on this
>one.

Table operations to drop a column are and should be rare, because applications are designed and not hacked together, as you seem to indicate is the proper way to do it.
There are many other methods to reorganize tables (like putting a view on top of the table, or creating a new table without the column, transporting the data, dropping the old table, and renaming the new table), so you don't need the drop column statement at all. That you seem to think it is trivial, is worrying, and hopefully I never need to use any of your applications. Dropping columns during upgrades is unprofessional.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Sep 22 2006 - 00:20:09 CDT

Original text of this message

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