I have a MySql table with three columns:
CU VARCHAR(3)
DA DATETIME
VA DOUBLE
I need to execute several REPLACE into mytable (CU, DA, VA) values("ABC", mydate, myval)
statements from Java. mydate
is a Date
and myval
is a double
.
My question is, assuming I have a connection to my database, how do I format and include mydate
and myval
properly in this string statement?