This task will execute a scalar query (a query which returns a single result) on an ODBC data source. The result can be accessed by the next task in the workflow using the ‘Output from the previous task’ option.
To run a query which can return multiple rows and/or columns from the database, use the ODBC Select task instead.
The SQL query to be executed. See below for an example.
The ODBC Connection to use. See the Connecting to an ODBC Database article if you require more information on how to create/manage connections.
See Common Task Settings
You can find an example of how to use this task in the ODBC Connector tutorial.
Sample query, which will select the sum of the Balance column from the Accounts table:
SELECT SUM(Balance) FROM Accounts
Back | Edit on Github