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

Thanks for you answers
  

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
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