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

Home -> Community -> Usenet -> c.d.o.server -> Re: Can Oracle drop a column?

Re: Can Oracle drop a column?

From: Deb Ghosh <ghoshd_at_boat.bt.com>
Date: 1997/07/03
Message-ID: <33BB9818.6FDA@boat.bt.com>#1/1

instead of using insert statements you can write a ddl as follows : if your original table has columns a, b, c and d and you want drop c then your statements would be -
create table temporary_table as select a, b, d from original_table; drop table original_table;
rename temprary_table to original_table; hope that helps.
Deb. Received on Thu Jul 03 1997 - 00:00:00 CDT

Original text of this message

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