Hi,
I am new to DB2 and appreciate any help.
Problem: I need to pass a date/time string with certain format to a Date/Time DB2 field. I am looking to an equivallent MS's SQL CONVERT(...) or Oracle's TO_DATE(...) function in DB2, but can't find one!
I tried DATE( '23.11.2002', EUR) but it didn't work!
Honestly, DB2 documentation is awful! I can't find a decent reference to DB2 functions like DATE and CHAR, I even bought Osborn SQL complete reference book and couldn't find those in it !
Thanks for the help.
Dhafir
I am new to DB2 and appreciate any help.
Problem: I need to pass a date/time string with certain format to a Date/Time DB2 field. I am looking to an equivallent MS's SQL CONVERT(...) or Oracle's TO_DATE(...) function in DB2, but can't find one!
I tried DATE( '23.11.2002', EUR) but it didn't work!
Honestly, DB2 documentation is awful! I can't find a decent reference to DB2 functions like DATE and CHAR, I even bought Osborn SQL complete reference book and couldn't find those in it !
Thanks for the help.
Dhafir