How to fix the Oracle error ORA-48242: Fields that are NOT NULL can not use surrogates?
In this post, you’ll learn more about the Oracle ErrorORA-48242: Fields that are NOT NULL can not use surrogates with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
ORA-48242: Fields that are NOT NULL can not use surrogates
Reason for the Error ORA-48242: Fields that are NOT NULL can not use surrogates
NOT NULL fields can not have surrogates specified.
How to fix the Error ORA-48242: Fields that are NOT NULL can not use surrogates ?
You can fix this error in Oracle by following the below steps
Either remove the constraint or the surrogate.
Leave Your Comment