09-21-2008 12:39 PM
Dear all ,
How do update mySQL table's data with LabView database tookit ?
thanks .
09-22-2008 05:40 AM
09-22-2008 08:16 AM
Hi Wiebe@CAR…
yes ,you're right .
Use update statement.but I don't know how to carry out it with labview .
could you give a example ?
thank you inadvance .
09-22-2008 10:40 AM
09-22-2008 12:09 PM
12-15-2009 09:56 AM
Hi
just stumbled over a vi in the toolkit lvlib.
There is an "DB Tools Update Data.vi" that works more or less like the Insert vi. It is not part of the DB menue, so you'll have to select it with the general "Select a vi...".
Like the Insert it has the advantage of handling clusters as a variant.
Good luck, Gabi
12-15-2009 10:29 AM
I generally build a statement through normal string concatenation and do a Execute SQL Query.
(Ofc you first need to open database, and afterwards free the query and close the database (atleast when you leave the program))
/Y