Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass a recordset to a stored procedure?

Status
Not open for further replies.

jlsmithhartfiel

Programmer
Jan 7, 2002
336
US
I have a page that is returning a record set based on a sql query.

Is there a way to pass this recordset to a stored procedure for manipulation?

TIA

Jessica [ponytails2]
 
"way to pass this recordset to a stored procedure "
--> did u mean to say "to use stored procedure to filter or manilpulate(edit/del/add) the records and generate recordsets?

> need more info?
:: don't click HERE ::
 
more to do calculations on the recordset & pass back those calculations; rather than doing the calculations in asp. Like using sql to sort the passed record set which is already a filtered & sorted for display purposes, but I need to resort for calculation (specifically median).

Am storing & sorting the results in an array now & it's slow. Wondering if I can use sql to sort the recordset, calc the median & return the value.

Jessica [ponytails2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top