On Saturday 07 April 2001 17:59, Kamil Yildirim wrote:
> Hi
> 
> I have a problem with SQL  UPDATE statement within a
> Java programm which establish a connection to a Mysql
> Server over JDBC.  The SQL UPDATE statement looks like
> that:  UPDATE tableX set x = x + ? where rowx = ?
> where the walue of ? on the x = x + ? part my  some
> times be - values and some time + values  for example
> +1 or -10. But after the execution , if i make a
> select statement to look at the new values on the
> table , i see that random values are asigned, not the
> walues which i expect. What can be the reason

What version of MySQL are you using?

-- 
MySQL Development Team
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to