OLE DB Source Editor (Connection Manager Page)

Use the Connection Manager page of the OLE DB Source Editor dialog box to select the OLE DB connection manager for the source. This page also lets you select a table or view from the database.

Note

To load data from a data source that uses Microsoft Office Excel 2007, use an OLE DB source. You cannot use an Excel source to load data from an Excel 2007 data source. For more information, see Configure OLE DB Connection Manager.

To load data from a data source that uses Microsoft Office Excel 2003 or earlier, use an Excel source. For more information, see Excel Source Editor (Connection Manager Page).

Note

The CommandTimeout property of the OLE DB source is not available in the OLE DB Source Editor, but can be set by using the Advanced Editor. For more information on this property, see the Excel Source section of OLE DB Custom Properties.

To learn more about the OLE DB source, see OLE DB Source.

Open the OLE DB Source Editor (Connection Manager Page

  1. Add the OLE DB source to the Integration Services package, in SQL Server Data Tools (SSDT).

  2. Right-click the source component and when click Edit.

  3. Click Connection Manager.

Static Options

  • OLE DB connection manager
    Select an existing connection manager from the list, or create a new connection by clicking New.

  • New
    Create a new connection manager by using the Configure OLE DB Connection Manager dialog box.

  • Data access mode
    Specify the method for selecting data from the source.

    Option

    Description

    Table or view

    Retrieve data from a table or view in the OLE DB data source.

    Table name or view name variable

    Specify the table or view name in a variable.

    Related information: Use Variables in Packages

    SQL command

    Retrieve data from the OLE DB data source by using a SQL query.

    SQL command from variable

    Specify the SQL query text in a variable.

  • Preview
    Preview results by using the Data View dialog box. Preview can display up to 200 rows.

    Note

    When you preview data, columns with a CLR user-defined type do not contain data. Instead the values <value too big to display> or System.Byte[] display. The former displays when the data source is accessed using the SQL OLE DB provider, the latter when using the SQL Server Native Client provider.

Data Access Mode Dynamic Options

Data access mode = Table or view

  • Name of the table or the view
    Select the name of the table or view from a list of those available in the data source.

Data access mode = Table name or view name variable

  • Variable name
    Select the variable that contains the name of the table or view.

Data access mode = SQL command

  • SQL command text
    Enter the text of a SQL query, build the query by clicking Build Query, or locate the file that contains the query text by clicking Browse.

  • Parameters
    If you have entered a parameterized query by using ? as a parameter placeholder in the query text, use the Set Query Parameters dialog box to map query input parameters to package variables.

  • Build query
    Use the Query Builder dialog box to construct the SQL query visually.

  • Browse
    Use the Open dialog box to locate the file that contains the text of the SQL query.

  • Parse query
    Verify the syntax of the query text.

Data access mode = SQL command from variable

  • Variable name
    Select the variable that contains the text of the SQL query.

See Also

Tasks

Extract Data by Using the OLE DB Source

Reference

OLE DB Source Editor (Columns Page)

OLE DB Source Editor (Error Output Page)

Concepts

Integration Services Error and Message Reference

OLE DB Connection Manager