Hi
Can anyone tell me how to derive "yyyy" from a timestamp column in
db2? Something like to_char(sysdate, 'yyyy') ... in oracle. I have to
oracle-like to_char function but its very slow.
If the column is DATE then I can use char(date, USA) and then substr
of 'yyyy', but I am not sure how can I do this with timestamp.
Please help
Thanks
V Prakash