OLEDB Execute Scalar
This task will execute a scalar query (a query which returns a single result) on an OLEDB data source. The result can be accessed by the next task in the workflow using the 'Output from the previous task' option.
Settings
Query
Required
The SQL query to be executed, see below for an example.
Connection
Required
The OLEDB Connection to use. See the Connecting to an OLEDB Database article if you require more information on how to create/manage connections.
Zynk Settings
Examples
You can find an example of how to use this task in the Using the OLEDB Connector tutorial.
Sample query, which will select the sum of the Balance column from the Accounts table:
SELECT SUM(Balance) FROM Accounts