Hi all,
I have sql that requires the function trunc_timestamp. I am using db2 v7.1 on a windows platform.(I still use this version coz our client uses the same).This function is not in v7, is it possible to create it(so that its user defined), and how do i do that? I was also advised to move zeroes to the portion of the timestamp that would have been truncated for both comparision fields, and then do a straight compare of the timestamp(I do not know how to do this. Any idea on how to use this approach).
Thank you in advance.