What should I choose between ADO.Net and OLE in SSIS?

Viewed 7606

Anyways I try to use this kind of two source destination in SSIS , but I can not find the difference of them about configuration. Then Can anyone share me know, what should I choose? and which one better for using in each situation or data.

4 Answers

Only OLE DB connections can be used as a source for SSIS Lookups. You cannot choose connections of type ADO.Net for lookup purposes.

Only ADO.Net supports newer SQL Azure authorisation methods such as Active Directory - Password. OLE DB is stuck with SQL authentication only

My advice is that if you plan to migrate to or use SQL Azure, don't use OLE DB

I also advise against using lookups if possible anyway

ADO.Net is certainly "newer" than OLE DB and is more in alignment with C#.... I have no citations, that's just my understanding.

.. and just to consolidate answers.

@Ferdipux makes a great point in his answer below:

ADO.NET connection managers can be used in C# code of Script Task/Transform without any additional actions. Just get it and call AquireConnection method.

After searching for this topic, i found a post on MSDN website where a comparison is made based on 4 perspectives:

  1. Support across SSIS components
  2. Performance
  3. 64-bit considerations
  4. Target data source & data type supportability

You can refer to this link for more information: OLE DB VS ADO.NET

Also there are some useful links that you can refer to:

  1. SSIS Data Flows – ADO.NET vs. OLE DB vs. ODBC
  2. Difference between ADO NET source and OLE DB Source in SSIS 2008?
  3. Performance Testing OLE DB vs ADO.NET in SSIS

Adding to Nick answer, ADO.NET connection managers can be used in C# code of Script Task/Transform without any additional actions. Just get it and call AquireConnection method.
OLEDB connection managers have to be converted to ADO.NET somehow; I do it with decoding its connection string.
If you are using plain SSIS and do not consider migrating to Azure, OLEDB connections are faster for date retrieval.

Related