[SQL] 纯文本查看 复制代码 .版本 2
.支持库 sqlite3
.计次循环首 (500, i)
nrr = “UPDATE UID_jilu SET ” + #引号 + “cishu” + #引号 + “='” + 到文本 (i+1) + “' where ” + #引号 + “UID” + #引号 + “='” + "123456" + “' and ” + #引号 + “zhanghao” + #引号 + “='” + "33333" + “'”
执行语句 = 执行语句 + sql + “;”
.计次循环尾 ()
全_sqlite.开始事务 ()
' UPDATE UID_jilu SET "cishu" = '10' WHERE "zhanghao" = '159123' AND "UID" = '1055812379;UPDATE UID_jilu SET "cishu" = '10' WHERE "zhanghao" = '159123' AND "UID" = '1055812379;UPDATE UID_jilu SET "cishu" = '10' WHERE "zhanghao" = '159123' AND "UID" = '1055812379'
bool = 全_sqlite.执行SQL语句 (执行语句)
全_sqlite.提交事务 ()
多条用 ; 隔开就可以了,500条一次就提交了 |