Question:
I am trying to use data shaping to get a recordset back. I was using two stored procedures that took one parameter each, but now I need to pass the second stored procedure a second parameter.
Does data shaping allow for this type of querying? If so, what is the syntax? I cannot find documentation anywhere about this.
Answer:
I am not familiar with data shaping, but an idea that may help you manage the dependency between procedures is the use of parameters “going the other way.” In other words, creating parameters for output.
Creating a procedure or parameter with the OUTPUT keyword makes the results of processing on the variable available as input to the next procedure, letting you chain-processes on the same variable.
Hope this helps.