1

我必须使用以下要求将日期从 exel 导出到 Sql 1. excel 中的模式与 SQL 不同。就像 excel 中的一行将根据业务逻辑和单元格中存在的值在 SQL 中插入多行一样。2. 在 sql 中插入数据之前,我必须应用商业规则。在某些情况下,数据对于在 sql 中的插入无效。

我可以将 SSIS 与 WF4 一起使用吗?与 SSIS 一样,我将提取和加载数据,转换将由 Wf4/ 完成

4

1 回答 1

2

To strictly answer the question, maybe. The 60 second read I had of WF4, is that it ships with with VS 2010 and uses .NET 4 framework. 2008 R2 only supports the 3.5 framework in script tasks and components.

That said, if you continue adding layers and use something like WCF, then you should be able to provide a web service interface and then you can do whatever work flow stuff inside the service.

But, doing any of that seems crazy to me. SSIS is an ETL engine. ETL is Extract, Transform and Load so you're adding what is probably unnecessary layers of complexity to your work. Need to split 1 row into many rows in SSIS? That could be a multicast, unpivot or script task depending on your needs.

Conversely, if you have all the work done in WF4 already, write the reader and writer yourself-it's trivial.

于 2012-10-15T13:11:21.390 回答