OLE DB Connection Manager in SSIS

The OLE DB Connection Manager in SSIS enables SQL Server Integration Services packages to connect with Database using an OLE DB provider. For example, an OLE DB connection manager uses Microsoft OLE DB Provider for SQL Server to connect with Microsoft SQL Server.

In real-time, the OLE DB Connection Manager is the most used connection manager while designing the SSIS packages. The following are some of the occasions we use:

  • OLE DB Source in SSIS use OLE DB Connection Manager to connect and extract data from the Database in SSIS
  • OLE DB Destination uses the OLE DB Connection Manager to connect and write data into the Database
  • Term Lookup Transformation only supports OLE DB Connection Manager to connect with the term lookup table (or Reference table).
  • Term Extraction Transformation only supports the SSIS OLE DB Connection Manager to add the Exclusion List.
  • Execute SQL task use OLE DB Connection Manager to connect and extract data from the Database
  • The OLE DB Connection Manager is also helpful in accessing data from the unmanaged code.

Configuring OLE DB Connection Manager in SSIS

In this example, We are going to show, How to create or configure OLE DB Connection Managers in SSIS (SQL Server Integration Services)

Once you created a new Project under SSIS. If you look at the Solution Explorer, we have four folders. For now, let’s concentrate on the Connection Managers Folder.

OLE DB Connection Manager in SSIS 1

Within the Solution Explorer, Right-click on the Connection Managers and select the New Connection Manager option from the context menu.

OLE DB Connection Manager in SSIS 2

When you click on the New Connection Manager option, an Add SSIS Connection Manager window form will open to select the connections managers from the given list.

OLE DB Connection Manager in SSIS 3

Here we selected the OLE DB connection manager from the list. Once we selected the OLE DB connection manager, another window form of Configure OLE DB Connection Manager will be opened to configure the data connections.

OLE DB Connection Manager in SSIS 4

If you observe the above, Data Connections pane is empty because we have not created any connection managers before. If we created any connection managers before then, instead of creating them, again and again, we could select them here.

Click on the new button from the above screenshot. It will open another window form of Connection Manager to select the Provider, Server Name, and Database Name.

OLE DB Connection Manager in SSIS 5

From the above screenshot, you can observe that we are using our local host windows account as the server name and [AdventureWorks2014] as the database name.

NOTE: In real-time, you have to select the Use SQL Server Authentication option. And provide the valid credentials given by your Admin person.

Click on the Test Connection button provided below to check whether the connection is successful or not.

OLE DB Connection Manager in SSIS 6

Once we finish configuring the connection managers, the OLE DB connection manager’s name will display in the Data connection pane. So, select the created connection manager and click ok.

OLE DB Connection Manager in SSIS 7

Click the ok button to finish configuring the OLE DB Connection Manager.

OLE DB Connection Manager in SSIS 8

From the above screenshot, you can observe that We successfully created the OLE DB Connection Manager in SSIS on SQL Server.

Comments are closed.