Oracle Solution for Error ora-22893

Solution for Oracle Error ORA-22893

ORA-22893: constraint can be specified only for REF columns

What triggered the Error:

e constraint specified does not apply to non-REF columns.

What should we do to fix it:

move the constraint and retry the operation.