excel批量删除sql语句

数据如下表一样

 在E1列输入update sql 模板 ="update test set A= '"&A1&"' ,B = '"&B1&"' where C= '"&C1&"' and D = '"&D1&"';"

下拉得到批量update sql

 如果要修改成双引号的话

update sql 模板修改为="update test set A= """&A1&""" ,B = """&B1&""" where C= """&C1&""" and D = """&D1&""";"

猜你喜欢

转载自www.cnblogs.com/miaosj/p/11459919.html