Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

SQL-02155

Date Time Interval only valid with Dynamic=ANSI

Cause

An attempt to access the datetime interval code or precision was encountered when type_code option not set to ANSI


Action

Use precompiler option type_code=ansi to access the date time interval code or date time interval precision