ORA-36354
(SNSYN342) Invalid LAST_DAY function syntax.
Cause
The format of the LAST_DAY function was incorrect.
Action
Correct the syntax and try again. The format of the LAST_DAY function is: LAST_DAY(date). For more information, consult Oracle documentation.