Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Drop multiple columns from a large table

999670Dec 14 2017 — edited Dec 20 2017

Hi All,

I have a huge table with 380 columns. It contains around 1 million records.

I am trying to drop 120 columns from this table using

alter table tab1 drop (   col1,   col2, col3.

.

col120

);

This drop statement has been running since last 2hrs. I thought drop operation would not take so much of time.

I am using oracle 11g Rel2. What is the proper why to drop these many columns from a large table.

Thanks in advance.

This post has been answered by Mustafa KALAYCI on Dec 18 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2018
Added on Dec 14 2017
18 comments
12,348 views