Database Error Messages

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

ORA-36356

(SNSYN343) Invalid MONTHS_BETWEEN function syntax.

Cause

The format of the MONTHS_BETWEEN function was incorrect.


Action

Correct the format and try again. The format of the MONTHS_BETWEEN function is: MONTHS_BETWEEN(date, date). For more information, consult Oracle documentation.