Hello there,
I am basically a beginner in DB2.
I have a requirement where in I need to update date field in a field with a day earlier. Date is declared as CHAR(10)
is this below correct?
END_DATE = xx.END_DATE - 1;
EXEC SQL
UPDATE Table01
SET END_DATE = :END_DATE
WHERE condition;
Does DB2 handles subtraction of date? Kindly clarify