Home » RDBMS Server » Server Administration » ORA-01810: format code appears twice.
ORA-01810: format code appears twice. [message #57788] |
Tue, 08 July 2003 04:31  |
Devashish Rughwani
Messages: 6 Registered: November 2002
|
Junior Member |
|
|
I am trying to update a date column with
String DateStr ="to_date('"+dtSql.toString() +"',";
DateStr = DateStr+ "'YYYY-MM-DD HH24:MI:SS.mmm'"") ";
dtSql is a java.sql.Timestamp object.
I want to store the millisecond information also in the column to be updated.
But I get "ORA-01810: format code appears twice."
Could any help on the date format to use for storing milliseconds in Oracle.
Regards,
Devashish
|
|
|
|
Goto Forum:
Current Time: Fri Jun 06 00:43:17 CDT 2025
|