var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Db2 Update command
System: Db2 UDB 7.2 on AIX 4.2
Application: J2EE (WAS 4.X)
While firing one UPDATE statement through a Java application, our developers are getting the following error message. The first character of the SQL statement is automatically truncated.
[IBM][CLI Driver][DB2/6000] SQL0104N An unexpected token "PDATE" was found following " ". Expected
tokens may include: "UPDATE". SQLSTATE=42601
Where as in the query it is already "UPDATE TABLE .... ".
This is a typical typo error message. Try to figure out what the exact SQL script was that is send to DB2. Try to send it to DB2 from within Command Center until it works.
With kind regards . . . . . SQL Server 2000/2005/2012
Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages