📜  更新 sql 代码示例

📅  最后修改于: 2022-03-11 15:05:24.699000             🧑  作者: Mango

代码示例6
-- 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;