数据库的批量处理
1.insert into sms_enterInfo
(companyId,companyName,authenticationLevel,txlTotalLimit,companyMonthlyLimit,mouth)
select companyId,companyName,authenticationLevel,txlTotalLimit,companyMonthlyLimit,cast(cast(mouth as int)+1 as varchar) mouth
from sms_enterInfo
where mouth= ?
模板:insert into 表(字段)select .....
2.update 表名 set 列名=值 where ....;
3.update 表的名称 set 此表要替换的字段名=REPLACE(此表要替换的字段名, '原来内容', '新内容')
4.SELECT REPLACE(替换字段,'原内容','新内容') from 表名;