Oracle Solution for Error ora-00910

Solution for Oracle Error ORA-00910

ORA-00910: specified length too long for its datatype

What triggered the Error:

for datatypes CHAR and RAW, the length specified was > 2000; otherwise, the length specified was > 4000.

What should we do to fix it:

use a shorter length or switch to a datatype permitting a longer length such as a VARCHAR2, LONG CHAR, or LONG RAW