sql - How do I cast a decimal field to a date field in DB2 AS/400? -
I have a decimal field with a date in the AS40 format: 1100614
I have tried :
cast (given as of DATE)
but I can not put a decimal on DATE, while
<
It can be done, but it is not easy. If you need to do this often, then it may be time to write your own function to do this.
Comments
Post a Comment