What is the difference between connected and unconnected stored procedures.

Questions by de_sachin

Showing Answers 1 - 2 of 2 Answers

sangeetha

  • Sep 25th, 2005
 

Unconnected:

The unconnected Stored Procedure transformation is not connected directly to the flow of the mapping. It either runs before or after the session, or is called by an expression in another transformation in the mapping.

connected:

The flow of data through a mapping in connected mode also passes through the Stored Procedure transformation. All data entering the transformation through the input ports affects the stored procedure. You should use a connected Stored Procedure transformation when you need data from an input port sent as an input parameter to the stored procedure, or the results of a stored procedure sent as an output parameter to another transformation.

  Was this answer useful?  Yes

sithusithu

  • Jan 24th, 2006
 

Run a stored procedure before or after your session.

Unconnected

 

Run a stored procedure once during your mapping, such as pre- or post-session.

Unconnected

 

Run a stored procedure every time a row passes through the Stored Procedure transformation.

Connected or Unconnected

 

Run a stored procedure based on data that passes through the mapping, such as when a specific port does not contain a null value.

Unconnected

 

Pass parameters to the stored procedure and receive a single output parameter.

Connected or Unconnected

 

Pass parameters to the stored procedure and receive multiple output parameters.

 

Note: To get multiple output parameters from an unconnected Stored Procedure transformation, you must create variables for each output parameter. For details, see Calling a Stored Procedure From an Expression.

Connected or Unconnected

Run nested stored procedures.

Unconnected

 

Call multiple times within a mapping.

Unconnected

Cheers,

Sithu

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions