OLEDB Repeater
The OLEDB Repeater task will execute a Query against an OLEDB database and run series of sub-tasks for each row in the results. For example, you could use the query SELECT Email FROM SALES_LEDGER
and the Send Email task as a sub-task to send an email to each customer in a database.
Settings
Query
Required
The SQL query to be executed, see below for an example. You can use the Using the Query Designer to build the query visually.
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
Context Variables
The task will convert each row to context variables, the name of the variables depend on the names of your columns in the query. To use these variables, reference them in templates as @Context.Current["ColumnName"]
or within other task settings using the Razor option.
Examples
You can find an example of how to use this task in the Using the OLEDB Connector tutorial.
Sample query, which will select all records from the Customers table:
SELECT * FROM Customers