Zargo
Programmer
- Mar 21, 2005
- 109
Hi all,
I have an Oracle database and in one of the tables the dateformat is stored like:
31-12-2005
1-1-2006
1-2-2006
28-2-2006
I want to convert these dateformats to DDMMYYYY, how can i do this? I have tried
Select to_date(datecolumn,DDMMYYYY) from mytable..without success. I could only select some information and i have no rights to use SET NLS DATEFORMAT or something.
Anybody idea how i can achieve the right conversion?
TIA
I have an Oracle database and in one of the tables the dateformat is stored like:
31-12-2005
1-1-2006
1-2-2006
28-2-2006
I want to convert these dateformats to DDMMYYYY, how can i do this? I have tried
Select to_date(datecolumn,DDMMYYYY) from mytable..without success. I could only select some information and i have no rights to use SET NLS DATEFORMAT or something.
Anybody idea how i can achieve the right conversion?
TIA