Excel batch generate sql statement
- The formula used
="update user set name='"& B2 &"',age='"& C2 &"' where c_xm_id='"& A2 &"';"
- Enter the formula, press Enter generated sql
- A generation, select the remaining cells
- Fill down choice
- Copy the generated sql column
- New sheet
- Paste as values
- Now you can excel export to txt format
- Or directly copy the sql to navicat executed