Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Step 3: Adding and Configuring an OLE DB Connection Manager


Applies To: SQL Server 2016 Preview

After you have added a Flat File connection manager to connect to the data source, the next task is to add an OLE DB connection manager to connect to the destination. An OLE DB connection manager enables a package to extract data from or load data into any OLE DB–compliant data source. Using the OLE DB Connection manager, you can specify the server, the authentication method, and the default database for the connection.

In this lesson, you will create an OLE DB connection manager that uses Windows Authentication to connect to the local instance of AdventureWorksDB2012. The OLE DB connection manager that you create will also be referenced by other components that you will create later in this tutorial, such as the Lookup transformation and the OLE DB destination.

To add and configure an OLE DB Connection Manager to the SSIS package

  1. Right-click anywhere in the Connection Managers area, and then click New OLE DB Connection.

  2. In the Configure OLE DB Connection Manager dialog box, click New.

  3. For Server name, enter localhost.

    When you specify localhost as the server name, the connection manager connects to the default instance of SQL Server on the local computer. To use a remote instance of SQL Server, replace localhost with the name of the server to which you want to connect.

  4. In the Log on to the server group, verify that Use Windows Authentication is selected.

  5. In the Connect to a database group, in the Select or enter a database name box, type or select AdventureWorksDW2012.

  6. Click Test Connection to verify that the connection settings you have specified are valid.

  7. Click OK.

  8. Click OK.

  9. In the Data Connections pane of the Configure OLE DB Connection Manager dialog box, verify that localhost.AdventureWorksDW2012 is selected.

  10. Click OK.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft