Hi,
looking at the new time functions I stepped into a problem:
DAYOFMONTH('01.03.2016') will work but
DAYOFYEAR('01.03.2016') will return SQL-443
Documentations says:
An expression that returns a value of one of the following built-in data types: a DATE, TIMESTAMP, or a valid character string representation of a date or timestamp that is not a CLOB.
For me '01.03.2016' is a valid date.
It is the same for dayofweek_iso.
This inconsistency should be fixed.
best regards
Michael Tiefenbacher
#Db2