Fastest way to transfer Excel table data to SQL 2008R2

后端 未结 6 733
囚心锁ツ
囚心锁ツ 2021-02-15 01:52

Does anyone know the fastest way to get data from and Excel table (VBA Array) to a table on SQL 2008 without using an external utility (i.e. bcp)? Keep in mind my datas

6条回答
  •  感动是毒
    2021-02-15 02:09

    As far as I remember, you can create a linked server to the Excel file (as long as the server can find the path; it's best to put the file on the server's local disk) and then use SQL to retrieve data from it.

提交回复
热议问题