Oracle Error PLS-00260: Datetime/Interval constraints must be in range (0 .. 9)

Oracle Error Message

PLS-00260: Datetime/Interval constraints must be in range (0 .. 9)

Reason for the Error

A Datetime/Interval variable or attribute was declared with a constraint outside the legal range.

Solution

Change the illegal constraint.