Specify the stored procedure run order when you have multiple source or target pre- or post-load stored procedures.
Data Integration
calls the stored procedures in the order that you specify. If you don't specify a run order,
Data Integration
calls the stored procedures in the order they are received at run time.
You can specify the stored procedure run order when the stored procedure type is set to anything except Normal and more than one stored procedure of that type exists in the mapping. For example, if you have multiple stored procedures that you want to call before
Data Integration
loads the source, you can specify the run order of the source pre-load stored procedures.
To set the stored procedure run order, open the
Actions
menu and select
Stored Procedure Order
.
The
Stored Procedure Order
dialog displays all source and target pre- and post-load stored procedures in the mapping even if there is only one stored procedure of a particular type. The tabs that you see in the
Stored Procedure Order
dialog depend on the type of stored procedures in the mapping. For example, if the mapping doesn't contain any target pre-load stored procedures, the Target pre-load tab doesn't display.
The following image shows the
Stored Procedure Order
dialog:
To set the stored procedure run order, select a stored procedure and use the up and down arrows to change the order.
Data Integration
calls the stored procedures from the top down.
You can't specify the run order for stored procedures with a stored procedure type of Normal or for connected stored procedures.