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: really dumb oracle newbie question:

Re: really dumb oracle newbie question:

From: Dan Clamage <clamage_at_mime.dw.lucent.com>
Date: 1997/09/29
Message-ID: <01bccce1$4457bd80$54110b87@clamagent>#1/1

Ralf Sandner <r.sandner_at_system-design.com> wrote in article <34335a2b.5826044_at_proxy>...
> i feel like a complete dork: i just can't figure out the correct
> syntax to delete a column from an existing table...
HA HA! You only feel like a dork. You CAN'T drop a column using ALTER TABLE! Only add them.

But, you can create a new table with just the columns you want with: CREATE TABLE blick SELECT col1, col2...
drop the old one and rename the new one to the old name.

Piece of pie. Easy as cake.

Received on Mon Sep 29 1997 - 00:00:00 CDT

Original text of this message

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