How can I import an Excel file into SQL Server?

I have data in an Excel file – actually XLSX format since it is now 2020. My requirement is to get this data into SQL Server as follows:

  1. ad hoc, the use case being feeding tables with test data, or infrequent data loads of small amounts of data (say < 3k rows), and
  2. In a repeatable, robust, and possibly automated way for a production system.

Leave a Comment

tech