SP call to DB2/400 linked server
From: Chavdar (chavdar.dobranov@lbbwus.com)
Date: 02/13/03
From: "Chavdar" <chavdar.dobranov@lbbwus.com>
Date: Thu, 13 Feb 2003 14:23:48 -0800
Have anyone successfully accomplished 'call' from within
SQL2K to a DB2/400 stored procedure that returns
recordset, using IBMDA400 as a provider?
Thank you
Relevant Pages
- Re: Error while running SP
... whats the code of the SP? ... I have a stored procedure which copies data from a ... >recordset into a table. ... >Microsoft OLE DB Provider for ODBC Drivers ... (microsoft.public.access.adp.sqlserver) - Re: Stored Procedures & Parameters Insert Problem
... Why use the MSDataShape provider? ... This is so that I can easily change the stored procedure in the sample ... an AutoNumber primary key field, and lngTestCount. ... Dim adoDBConn As ADODB.Connection ... (microsoft.public.data.ado) - Re: using Command to set Parameters and Recordset to retrive the Query
... doesn't the rsData will be interpretate as an input parameter in the SP? ... >> Query and retrive the Recordset so I can use the Paging property ... > Even if this technique of using the parameters in the ORDER BY does work for> you, I suspect that this will defeat your objective of preventing sql> injection. ... See below for a more efficient solution> using a stored procedure. ... (microsoft.public.inetserver.asp.general) - Re: Not Getting results from Stored procedure
... So, running a stored procedure from VB6 can be done fairly easily and while there are fewer whitepapers on how to best do so, I thought my website might still have a few but there are not that many left--the problem is, Microsoft is pulling old unsupported content from MSDN so a lot of those links are gone. ... In any event, when calling a stored procedure, you need to include phrase SET NOCOUNT ON, so that the 'records affected' message that occur from results of Stored proc processing aren't returned to the calling application. ... These messages appear to be returned to the calling application as a recordset. ... when calling a stored proc you need ignore the command object and use a syntactically correct string as the source parameter for the recordset's 'Open' method. ... (microsoft.public.vb.database) - Re: vbscript logon script getting return data from sql sp
... Loop ... > One way to retrieve values from a stored procedure is with a Recordset ... (microsoft.public.scripting.vbscript) |
|