Press "Enter" to skip to content

Dynamic CSV Imports

Mike Fal wants to automate loading multiple CSV files:

Once the staging table is in place, the load is actually fairly simple. You have lots of options, but the easiest one for my money is to build a BCP call and execute that. BCP is a simple utility that has been around for a while, mostly because it is effective. The build is not difficult:

It’s quick, dirty, and functional.