Update a date field in SQL database
843854Oct 4 2001 — edited Oct 4 2001I am using MS SQL 2000..and .Jdbc-odbc bridge
I have a field of type datetime...
I am trying to update that field value...using the following code
rs.updateDate(fieldname,java.sql.Date.valueOf(fval));
rs.updateRow();
where fVal is a string...
It gives me a SQl Exception saying invalid date value..
Can any throw any light on this...helping me to overcome my error...