Ask a Question related to ASP Database, Design and Development.
-
Wayne Wengert #1
Getting Multiple Recordsets from an SP
I am using ASP 3.0/ADO to call an SP. The SP has multiple SELECT statements
so I
need to get the multiple return sets but I cannot find the right syntax. I
searched BOL and Google but cannot find an example that applies. Some
articles imply to use GetNextResult while others suggest GetNextRS.
I use set myRS = myConn.execute("EXEC " & strTemp) to call the SP. What is
the correct syntax to get the next resultset?
Wayne
Wayne Wengert Guest
-
Multiple Recordsets
OK, I know there has to be a better way to do this, hopefully someone can shed some light on this subject. Using SQLServer 2000 and VBscript... -
Multiple paged recordsets
Does anyone know how to place two or more INDEPENDENTLY PAGEABLE different sized recordsets on the same output page using DM8/ASP? I have created... -
Multiple Recordsets and Stored Procedure
I'm using a stored procedure that returns multiple recordsets (it contains multiple select statements) in a vb.net dev environment. The problem is... -
Multiple recordsets?
Hey all I'm not sure if there's anything that can be done about this or not. I'm displaying the contents of two different tables (using Access for... -
Should open multiple recordsets, or just one?
Hi, I find myself once again returning to a problem project I have been so far unable to finish... I have a table of teaching session data and... -
Ray at #2
Re: Getting Multiple Recordsets from an SP
Here's an example:
[url]http://www.devguru.com/Technologies/ado/quickref/recordset_nextrecordset.html[/url]
Ray at work
"Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> wrote in message
news:%23YiF%23guoDHA.2868@TK2MSFTNGP09.phx.gbl...statements> I am using ASP 3.0/ADO to call an SP. The SP has multiple SELECTis> so I
> need to get the multiple return sets but I cannot find the right syntax. I
> searched BOL and Google but cannot find an example that applies. Some
> articles imply to use GetNextResult while others suggest GetNextRS.
>
> I use set myRS = myConn.execute("EXEC " & strTemp) to call the SP. What> the correct syntax to get the next resultset?
>
> Wayne
>
>
Ray at Guest
-
Wayne Wengert #3
Re: Getting Multiple Recordsets from an SP
Thanks Ray - that is what I needed. It works fine now.
Wayne
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ORqKTkuoDHA.2584@TK2MSFTNGP09.phx.gbl...[url]http://www.devguru.com/Technologies/ado/quickref/recordset_nextrecordset.html[/url]> Here's an example:
>I>
> Ray at work
>
> "Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> wrote in message
> news:%23YiF%23guoDHA.2868@TK2MSFTNGP09.phx.gbl...> statements> > I am using ASP 3.0/ADO to call an SP. The SP has multiple SELECT> > so I
> > need to get the multiple return sets but I cannot find the right syntax.> is> > searched BOL and Google but cannot find an example that applies. Some
> > articles imply to use GetNextResult while others suggest GetNextRS.
> >
> > I use set myRS = myConn.execute("EXEC " & strTemp) to call the SP. What>> > the correct syntax to get the next resultset?
> >
> > Wayne
> >
> >
>
Wayne Wengert Guest
-
Aaron Bertrand - MVP #4
Re: Getting Multiple Recordsets from an SP
[url]www.aspfaq.com/2201[/url]
"Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> wrote in message
news:#YiF#guoDHA.2868@TK2MSFTNGP09.phx.gbl...statements> I am using ASP 3.0/ADO to call an SP. The SP has multiple SELECTis> so I
> need to get the multiple return sets but I cannot find the right syntax. I
> searched BOL and Google but cannot find an example that applies. Some
> articles imply to use GetNextResult while others suggest GetNextRS.
>
> I use set myRS = myConn.execute("EXEC " & strTemp) to call the SP. What> the correct syntax to get the next resultset?
>
> Wayne
>
>
Aaron Bertrand - MVP Guest



Reply With Quote

