Excel中的ssis包格式 [英] ssis package format in excel

查看:94
本文介绍了Excel中的ssis包格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在excel中以以下格式创建ssis软件包输出

i need create an ssis package ouput in this following format in excel

           India
          Employee report

报告运行日期:2012年1月24日

Report run date : 24/01/2012

id    name      address
1     manoj     blore
2     manu      chennai
3     anu       chennai
4     vani      mumbai

现在写我的数据集包含这样的

write now my dataset contains like this

   id    name      address
    1     manoj     blore
    2     manu      chennai
    3     anu       chennai
    4     vani      mumbai

这些事情将是动态的

     India
              Employee report
Report run date : 24/01/2012  

我可以将所有这些动态值保存在变量中并使用

i can hold all these dyanamic values in an variables and use it

如何获得上述格式的结果,请让我知道如何进行操作。

how can i get the above format result pls let me know how to go ahead.

我希望结果以上述格式显示

i wanted the result to be shown like the above format

有没有什么解决方案可以解决,我正在使用sql server r2

is there any solution we can get it done ,i am using sql server r2

感谢
Prince

Thanks Prince

推荐答案

我认为最好的方法是创建脚本任务,该任务连接到Excel工作表并使用这些附加数据创建行。

I think the best way to do that is to create script task that connects to Excel sheet and creates rows with that additional data.

以下是一些有用的链接:

Here is some useful links:

http://www.connectionstrings.com/excel

http://www.databasejournal.com/features/mssql/article.php/3919016/Accessing-Excel-Via-ADONET-Using-SSIS-Script- Task.htm

这篇关于Excel中的ssis包格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆