Quantcast
Channel: IT Answers » DB2 Universal Database
Viewing all articles
Browse latest Browse all 21

DB2 update query giving error STRING REPRESENTATION OF DATETIME VALUE HAS INVALID SYNTAX.

$
0
0

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.


Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>