I have an Oracle database which contains a table that have a column (String) that contains dates (in the java code, the toString() of that date is inserted into the String column) and the format is for example : Fri Feb 28 00:00:00 CET 2014
So i need to fix this to have a standard format => instead of "Fri Feb 28 00:00:00 CET 2014" i'll have "2014-02-28 00:00:00.0"
For future insertions in the database, the problem is fixed => usage of DataFormat instead of a toString() on the date.
BUT ! The problem is how to convert the entries already in the database !
I'd like to add that it is not possible to change the type of the column to Date so it must remain a String.
Any ideas ??
DATEorDATETIME?