Default value for column cannot be changed to NULL (Doc ID 1644777.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

 When using fast add method to add a column with a default value, as per the following:-

Oracle® Database SQL Language Reference 11g Release 2 (11.2) , Alter Table

and after dropping the NOT NULL constraint , If you tried to change or remove the default value by setting it to NULL  , it will still use the old one.

Changes

 Here is an example of the situation:-

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms