SSIS Import Excel Document Using Column Position,

2019-07-02 21:13发布

I was wondering if it was possible to import Excel documents using SSIS by referencing a column by its position? For example, import columns A,D,M,AA, etc. I ask because I need to load in several Excel documents from a third party. Each document contains the same data type in the corresponding columns, except the column names are different for each document.

Thanks!

标签: sql excel ssis
1条回答
Juvenile、少年°
2楼-- · 2019-07-02 21:44

Yes but you won't be using the Excel driver and connection manager. Instead, you will use the OLE DB driver and write a SQL Query against the file. For anything but the most basic Excel files, this is my go-to approach for importing data out of Excel.

Various incarnations of my approach

查看更多
登录 后发表回答