Message Oracle SQL-02155 - Date Time Interval only valid with Dynamic=ANSI

ERRORDate Time Interval only valid with Dynamic=ANSI
CAUSEAn attempt to access the datetime interval code or precision was encountered when type_code option not set to ANSI
ACTIONUse precompiler option type_code=ansi to access the date time interval code or date time interval precision