View previous topic :: View next topic
|
Author |
Message |
gerry sepulveda
New User
Joined: 22 Jun 2010 Posts: 2 Location: Kansas City
|
|
|
|
I'm not really sure if this topic was discussed earlier but here goes.
I have been tasked to create a stored procedure that will return a result set to a web application.
I do know the result set will have a max of 25 rows with approx 10 columns based on account number.
I plan on using 2 sub-modules to produce the date and return the information to the stored procedure.
From information I already have, the stored procedure must declare a temp table, open a cursor to the temp table for the web app to fetch.
My specific questions are:
1. At what point would I call the sub-modules to load the temp table?
2. Would the linkage section variables be the temp table or the individual columns.
3. would the sub-modules be call with each fetch from the web app?
Any information is helpful
Thanks
Gerry |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
gerry sepulveda
New User
Joined: 22 Jun 2010 Posts: 2 Location: Kansas City
|
|
|
|
I've gotten the basic information from the RedBooks mentioned however, the basic information doesn't explain the question as to when to call the sub-modules, when the cursor is called, etc..
I have seen information about loading the temp table, that piece is self-explanatory.
Thanks |
|
Back to top |
|
|
|