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!

how to prevent default values on existing record

user517698May 28 2008 — edited May 28 2008
hi ,

i am using oracle 9i and i have an existing table

i have just added a new column col1 with default value 'N' and it seems that oracle automatically updates all existing record for that column with N.

i have thought that it should affect only subsequent records that are newly inserted w/o value for that column ?

is this the nature of Oracle & is there any way to prevent the updates on the new field of existing records?

pls advise
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2008
Added on May 28 2008
10 comments
1,471 views