Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: "Drop & Recreate table" or "alter table drop column". Which
In an 8i database, dropping a column is certainly preferred over a rebuild, because if you drop & re-create the table, you have to re-create all grants, indexes, triggers and constraints. Since the table is empty (you said so) you will not fragment any data (row chaining and alike).
> -----Original Message-----
> From: CHAN Chor Ling Catherine (CSC) [mailto:clchan_at_nie.edu.sg]
> Sent: Wednesday, August 29, 2001 10:21 AM
> To: Multiple recipients of list ORACLE-L
> Subject: "Drop & Recreate table" or "alter table drop
> column". Which is
>
>
> Hi Gurus,
>
> If the table is empty & U need to drop one of the columns, do you
> 1) alter table tab_name drop column col_name or
> 2) drop & recreate table
>
> I use option (1). Which is a better choice ? TIA
>
> Regds,
> New Bee
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: CHAN Chor Ling Catherine (CSC)
> INET: clchan_at_nie.edu.sg
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Gogala, Mladen INET: MGogala_at_oxhp.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Aug 29 2001 - 09:55:51 CDT
![]() |
![]() |