Stored Procedure / Get more than one Table back
- From: "Daniel Spanfellner" <noreply@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 May 2008 10:03:42 +0200
Hello,
i have a problem with vb6 and SQL Stored Procedures.
The stored procedure deliver more than one Table back. (Query Analyzer) In Basic i want to see that. Can you help?
Example:
Stored procedure bring back:
select * from Test
Select * from Test2
In Basic i see only one Result
Set cda = New ADODB.Command
cda.ActiveConnection = cn_wO
cda.CommandTimeout = 400
cda.CommandType = adCmdStoredProc
cda.CommandText = "sp_TestSP"
cda.Parameters.Append cda.CreateParameter("@debug", adInteger, adParamInput, 50, "1")
cda.Parameters.Append cda.CreateParameter("@TestPar", adChar, adParamInput, 50, "hello")
Set rs_TB = cda.Execute
Greetz
Daniel
.
- Follow-Ups:
- Re: Stored Procedure / Get more than one Table back
- From: Al Reid
- Re: Stored Procedure / Get more than one Table back
- Prev by Date: Re: Variable not being passed to stored procedure or query
- Next by Date: Re: Stored Procedure / Get more than one Table back
- Previous by thread: Variable not being passed to stored procedure or query
- Next by thread: Re: Stored Procedure / Get more than one Table back
- Index(es):
Relevant Pages
|