Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connection Manager in Script Component

Tags:

ssis

How will we use Connection Manager in Script component, using OLEDB Provider ? I had tried using Connection Manager with OLEDB Provider and SQL, but failed. what is the correct way to use ?

like image 864
Sreejesh Kumar Avatar asked Aug 04 '10 07:08

Sreejesh Kumar


2 Answers

This is well documented on MSDN, covering both VB and C# type of scripts: http://msdn.microsoft.com/en-us/library/ms136018.aspx

like image 83
cairnz Avatar answered Oct 10 '22 05:10

cairnz


The syntax is different between a Script Task and a Script Component. Check out this article for more than a couple side-by-side comparisons:

http://msdn.microsoft.com/en-us/library/ms136031.aspx

like image 28
NealR Avatar answered Oct 10 '22 03:10

NealR