title: DB2: SQL0007N The character " " following "[...]" is not valid
body: <p>I meet a very strange problem with a DB2 query.</p>
  
  <p>My query looks like :</p>
  
  <p>db2 "merge into A as aa using (select * from B) as bb on [...] when not matched then insert values (bb.a, bb.b, bb.c,  bb.d, bb.e) else ignore"</p>
  
  <p>It's perfectly working on different databases, but not on the production database. We get the following error :</p>
  
  <p>DB21034E  The command was processed as an SQL statement because it was not a
  valid Command Line Processor command.  During SQL processing it returned: </p>
  
  <p>DB2: SQL0007N  The character " " following "s (bb.a, bb.b, bb.c," is not valid.</p>
  
  <p>SQLSTATE=42601 </p>
  
  <p>The problem seems to come from the white space located just after "bb.c,". We have two white spaces here, but it should not be a problem (and, indeed, it's perfectly working on the other databases. It's the first time that I see something like that).</p>
  
  <p>Unfortunately I do not have a direct acess to the production database... But I can ask the client to make some operations if necessary.</p>
  
  <p>Is someone does already meet this problem ?
  Can it be related to the database configuration ? The query is made of 652 characters, and the problem appears after the 452nd.</p>
  
  <p>Thanks.</p>