I tried doing your code and got the following error:
14:04:26.141 DBMS GP_TEST -- Error: [IBM][CLI Driver][DB2/NT] SQL0171N The data type, length or value of argument "1" of routine "SYSIBM.CHAR" is incorrect. SQLSTATE=42815
MC's solution will not work as the column is a Char column. I thought that there might be a solution using a combination of DATE and CHAR, but after further consideration, I'm not sure there is. I think the best solution is PruSQL's concatenation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.