H
hshhqx
Unregistered / Unconfirmed
GUEST, unregistred user!
请教各位高手怎样把多个SQL语句从复杂的字符串中分解出来?
例如复杂的字符串:
UPDATE *SET crpp.crpp2="55",crpp.crpp3="55",zjj.crpp4=55,zjj.crpp5=55 WHERE
crpp.crpp1="Mexico" AND zjj.crpp4=1967180
拆分为两个正确的SQL语句:
UPDATE CRPP SET crpp.crpp2="55",crpp.crpp3="55" WHERE crpp.crpp1="Mexico"
UPDATE zjj SET zjj.crpp4=55,zjj.crpp5=55 WHERE zjj.crpp4=1967180
例如复杂的字符串:
UPDATE *SET crpp.crpp2="55",crpp.crpp3="55",zjj.crpp4=55,zjj.crpp5=55 WHERE
crpp.crpp1="Mexico" AND zjj.crpp4=1967180
拆分为两个正确的SQL语句:
UPDATE CRPP SET crpp.crpp2="55",crpp.crpp3="55" WHERE crpp.crpp1="Mexico"
UPDATE zjj SET zjj.crpp4=55,zjj.crpp5=55 WHERE zjj.crpp4=1967180