I'm getting the error the 'The SQL command is not properly ended.' when trying to run this query. Can someone please help me to recognize what the issue of this is.
UPDATE PM_ACTION_CALENDAR_PLAN_TAB
SET t1.GEN_DATE = t2.GEN_DATE
FROM PM_ACTION_CALENDAR_PLAN_TAB t1
INNER JOIN GEN_DATEPREPARE2 t2
ON t1.PM_NO = t2.PM_NO AND
t1.SEQ_NO=t2.SEQ_NO AND
t1.PM_REVISION=t2.PM_REVISION;