Sometimes you want to take the contents of an Excel .xlsx or .xls file and store it in a relational database using SQL. You can do this easily using Easy Data Transform:
In the right pane add the SQL command in Substitution script, leaving gaps where the values from the columns in the CSV files will go. Then insert the column values into the text using the Insert variable drop-down list. Set New column name to ‘SQL’.
Click Evaluate when you are done. An ‘SQL’ column is added at the end of the table.
Set the table to Show all rows, click on the ‘SQL’ column to select it and copy it to the clipboard using Ctrl+C (Windows)/Cmd+C (Mac).
You can now paste the SQL where you need it.
Substitute is one of the 42 transforms in Easy Data Transform you can use to quickly and easily create a wide range of data transformations.
v1.3.0 for Windows 10 / 8 / 7 (23 MB)
v1.3.0 for Mac 10.15 to 10.12 (22 MB)
Questions or problems?