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: Dropping a column in Oracle

Re: Dropping a column in Oracle

From: Jerry Gitomer <jgitomer_at_ictgroup.com>
Date: Fri, 17 Apr 1998 07:54:14 -0400
Message-ID: <353742E6.3EA4@ictgroup.com>


Hi Scott,

Why do you want to drop the column?

Why not just create a view that doesn't include it?

Why not do your select statements using column names instead of "*" ?

The reason I ask these questions is that, to the best of my knowledge, there isn't an easy way to do what you want -- drop a column. It is possible to drop your constraints, unload the data, temporarily drop the table, recreate it the way you want, reload it using SQL*Loader, and then reenable the constraints -- but it is a pain in the neck do so.

Regards

Jerry

Scott Mad Dog Raven wrote:
>
> Does anyone know how to drop a single column from a table in Oracle 7? The
> table has constraints to other tables and cannot be dropped.
>
> - Scott
>
> --
>
> ________________________________________________
> Scott "Mad Dog" Raven
> CSE '99
> Finger me to find out what I do.
>
> scottcr_at_seas.upenn.edu
> http://www.seas.upenn.edu/~scottcr
> (215) 382-2204
>
> No blood, no foul.

--

Jerry Gitomer         	ICT Group
jgitomer_at_ictgroup.com	Langhorne PA
jgitomer_at_p3.net 	Opinions are mine not those of ICT Group
Received on Fri Apr 17 1998 - 06:54:14 CDT

Original text of this message

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