My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.