数据如下表一样 在E1列输入update sql 模板 ="update test set A= '"&A1&"' ,B = '"&B1&"' where C= '"&C1&"' and D = '"&D1&"';" 下拉得到批量update sql 如果要修改成双引号的话 update sql 模板修改为="update test
SET @I = 148;SELECT CONCAT("DELETE FROM supplier_change_log WHERE old_supplier_id=4194 AND id>=",@I," AND id<",@I:=@I+2000,";SELECT SLEEP(0.2);") FROM supplier_change_log LIMIT 1205;
private bool ExecuteTransaction(List<string> list) { using (SqlConnection connection = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["LocalConnectionString"].ToString())) { SqlCommand command = new SqlCommand(); S