Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Jul 20, 1999

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date