| Author |
[Microsoft][ODBC SQL Server Driver]Invalid date format
|
Naveen Sharma
Ranch Hand
Joined: Mar 23, 2001
Posts: 65
|
|
Hi Friends The problem is whenever i am going to Add the records in Date field of a table the error is given by the tomcat server [Microsoft][ODBC SQL Server Driver]Invalid date format i m using jdbc dbc bridge for connection. I have tried each and evry combination using java.util.date but all in vain. i think there is some hidden truth behind this ...... please rectify. The Code is Following : java.sql.Date d = new java.sql.Date(12122000); rs_ins.updateDate("Call_Date",d); Thanks Naveen
|
 |
Jamie Robertson
Ranch Hand
Joined: Jul 09, 2001
Posts: 1879
|
|
try using a timestamp instead. Jamie [This message has been edited by Jamie Robertson (edited September 10, 2001).]
|
 |
 |
|
|
subject: [Microsoft][ODBC SQL Server Driver]Invalid date format
|
|
|