Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Multiple Colum Update (1 reply)

$
0
0
Hi i getting trouble executing this Updatequery:

"UPDATE "
+ " SET firstname =?, "
+ " lastname =?, "
+ " company =?, "
+ " department =?, "
+ " legalform =? "
+ " WHERE cid = '"+cid+"'";

On my MySQL Workbench it wroks fine, but i cannot execute it with JDBC
using executeUpdate

Is it generaly possible using MySQL Connector/J executing "one" Update Statement
and changing multiple Colums values?

Viewing all articles
Browse latest Browse all 884

Trending Articles



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