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!

Quick question: alter table ... modify column NOT NULL...

665143Aug 24 2009 — edited Aug 24 2009
Hey all,

If I modify 3 populated (they have data) columns in a table with approximately 300 million rows from NULL to NOT NULL:

alter table blah
modify (col1 NOT NULL, col2 NOT NULL, col3 NOT NULL);

... will this roughly "take a while?"

I know it's a REALLY high-level question, but I'm wondering how much time it should consume (a few minutes or many minutes - looking for a rough answer as well). The table has 10 columns, if that helps.

Hardware specs are irrelevant... I'm just looking for a basic answer.
This post has been answered by Anurag Tibrewal on Aug 24 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2009
Added on Aug 24 2009
8 comments
1,368 views