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 18.104.22.168 and later
Oracle 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.
When using fast add method to add a column with a default value, as per the following:-
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.
Here is an example of the situation:-
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