excel生成sql脚本
1、准备excel数据

2、写公式
公式格式:= "select * from table where user = '"& A1 &"';"。
引用表格数据格式:="'"& A1 &"'"
拖拉即可生成样式如下。




3、替换字符串
3.1 在记事本中将"字符串替换掉即可用。

阅读量:54
阅读量:138
阅读量:75
阅读量:98
阅读量:108
1、准备excel数据

2、写公式
公式格式:= "select * from table where user = '"& A1 &"';"。
引用表格数据格式:="'"& A1 &"'"
拖拉即可生成样式如下。




3、替换字符串
3.1 在记事本中将"字符串替换掉即可用。
