The following sql query in DB2 is giving the exception. What can be the correct query for this in DB2?
SQLQuery=update EMP set validityenddate='01-JAN-07' WHERE username='XYZ'
Exception:
msg=java.sql.SQLException: [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]STRING REPRESENTATION OF DATETIME VALUE HAS INVALID SYNTAX.
Software/Hardware used:
ASKED:
November 13, 2008 1:24 PM
UPDATED:
December 4, 2008 1:49 AM