How to Generate Dynamic Sql Insert Statements in Ms Excel

Excel is a very powerful tool, you can use it in a lot of things.

For me, I often use it to geenrate dynamic database inserts.

For example you have columns, A, B, C with values name, address and birthday. Then D should have the following formula:


="INSERT INTO employees (name, address, birthday) VALUES ("&A1&","&B1&","&C1&")"

0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post
NERV Open Source
Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.