如何使用脚本组件创buildSSIS包

我正在使用Microsoft 商业智能开发工作室(BIDS)创build一个SSIS包 。 考虑到这是我第一次尝试SSIS。

我想从源数据库中提取数据并将其放入目标数据库 。 在阐述任务中,我还需要来自目标数据库的数据

数据stream中,我有两个“对象”一个源和一个目标。 在源文件中,我创build了一个从源数据库获取数据的查询

然后我在两者之间添加了一个脚本组件

我遇到的问题有两个:

1) How can I call from my script the result of the query? 2) How can I also get the data from the destination (it allows me to connect up to 1 arrow to the script) 3) How can I write the elaborated data in the destination? 

我希望你能帮助我,因为我很迷茫。