I am brand new to Oracle and am having a hard time with the TO_DATE function. I want to format a date that is in this notation: '2005-01-06' to this notation: '01/06/2005'.
However, the rows returned come in the ansi format, not the format in which I specified.
Any thoughts? Thanks in advance.
[blue]Go to work to learn. Don't go to work to earn.[/blue]
Code:
SELECT TO_DATE(col1, 'MM/DD/YYYY') AS formattedcol
FROM table1
Any thoughts? Thanks in advance.
[blue]Go to work to learn. Don't go to work to earn.[/blue]