commande update sql code example
Example 1: modifier une valeur sql
UPDATE table
SET nom_colonne_1 = 'nouvelle valeur'
WHERE condition
Example 2: update sql
-- sql update using string format
String = "UPDATE yourtable SET yourcolumn = '" + yourvealueintext + "' WHERE column = " + item_to_compare_the_position_of_Your_Column;
-- or
String = "UPDATE yourtable SET yourcolumn = " + yourvalue_in_number + " WHERE column = " + item_to_compare_the_position_of_Your_Column;