devxlogo

Data Shaping (Passing Multiple Parameters)

Data Shaping (Passing Multiple Parameters)

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.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist