Default value for column cannot be changed to NULL
(Doc ID 1644777.1)
Last updated on FEBRUARY 26, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A 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 |