I'm doing a select mydate from whereever and dates are displayed as YYYY-MM-DD
I want to display them as MM/DD/YYYY
So I used
but get an error that TO_CHAR in *LIBL type *N not found.
I found this http://www.ibm.com/developerworks/db.../0211yip3.html
Tried VARCHAR_FORMAT as well. Tried select Date(mydate) as well...
any ideas?
I want to display them as MM/DD/YYYY
So I used
Code:
Select TO_CHAR(mydate,'MM/DD/YYYY')
I found this http://www.ibm.com/developerworks/db.../0211yip3.html
Tried VARCHAR_FORMAT as well. Tried select Date(mydate) as well...
any ideas?




Comment