简体   繁体   English

使用SSIS在不执行脚本任务的情况下将数据从动态excel导入sql server 2008 r2

[英]import data from dynamic excel to sql server 2008 r2 using SSIS without script task

I have to import data from excel(number of columns will change every time)to sql server 2008. I have done script task for dynamically pulling the data. 我必须将数据从excel(每次都会更改列数)导入sql server2008。我已经完成了脚本任务,可以动态提取数据。 but the server has ace oledb and jet oledb registry errors. 但是服务器出现ace oledb和jet oledb注册表错误。 So is there any other way to import data from dynamic excel using SSIS without script task? 那么,还有没有其他方法可以使用SSIS在不执行脚本任务的情况下从动态excel导入数据?

Depending on the version of Excel being used to generate the spreadsheets, you may be able to use the Open XML SDK 2.5 for Office libraries. 根据用于生成电子表格的Excel版本,您可能可以使用Office库的Open XML SDK 2.5 You will still need a Script Task or Component (or a full-blown custom SSIS component), but you may be able to avoid the ACE and Jet engine errors. 您仍将需要脚本任务或组件(或成熟的自定义SSIS组件),但是您可以避免ACE和Jet引擎错误。

Fixing the registry errors does seem like the easier approach, though. 但是,修复注册表错误似乎更容易一些。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM