Export (0) Print
Expand All

Excel Destination Editor (Connection Manager Page)

Updated: 12 December 2006

Use the Connection Manager page of the Excel Destination Editor dialog box to specify data source information, and to preview the results. The Excel destination loads data into a worksheet or a named range in a Microsoft Excel workbook.

ms190012.note(en-US,SQL.90).gifNote:
To load data to a data source that uses Microsoft Excel 2007, use an OLE DB destination. You cannot use an Excel destination to connect to an Excel 2007 data source. For more information, see Excel Connection Manager Editor.

ms190012.note(en-US,SQL.90).gifNote:
The CommandTimeout property of the Excel destination is not available in the Excel Destination Editor, but can be set by using the Advanced Editor. In addition, certain Fast Load options are available only in the Advanced Editor. For more information on these properties, see the Excel Destination section of Destination Custom Properties.

To learn more about the Excel destination, see Excel Destination.

OLE DB connection manager

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

New

Create a new connection manager by using the Excel Connection Manager dialog box.

Data access mode

Specify the method for selecting data from the source.

Option Description

Table or view

Loads data into a worksheet or named range in the Excel data source.

Table name or view name variable

Specify the worksheet or range name in a variable.

Related information: Using Variables in Packages

SQL command

Load data into the Excel destination by using an SQL query.

Preview

Preview results by using the Preview Query Results dialog box. Preview can display up to 200 rows.

Data access mode = Table or view

Name of the Excel sheet

Select the name of the worksheet or named range from a list of those available in the data source.

New

Create a new worksheet in the destination workbook by using the Create Table dialog box. The Create Table dialog box generates a default SQL statement that uses data types appropriate for SQL Server. You may need to specify different data types in the SQL statement, because Excel supports a more limited set of data types than SQL Server.

Data access mode = Table name or view name variable

Variable name

Select the variable that contains the name of the worksheet or named range.

Data access mode = SQL command

SQL command text

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

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.

Release History

12 December 2006

New content:
  • Added a note about the use of Excel 2007 data sources.

5 December 2005

New content:
  • Added Note about use of the Advanced Editor.

Community Additions

ADD
Show:
© 2014 Microsoft