Solved

Using a MsDb2DataReader with a Stored Procedure

Posted on 2006-11-03
2
308 Views
Last Modified: 2012-05-05
I am using Host Integration Server and need to use a MsDb2DataReader to call a stored procedure. I will be creating an array of MsDb2Parameter objects, which I will be passing to the procedure.

The problem is that I can't find any examples of how to do this. The available MSDN documentation is sparse, and doesn't have what I'm looking for.

Has anyone done this? An example would be greatly appreciated.

Thanks!
0
Comment
Question by:marmaxx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
mjmarlow earned 500 total points
ID: 17872853
I read http://msdn2.microsoft.com/en-us/library/ms945832.aspx and see that the only quirk with the DB2 provider is the parameters must be added to parameter collection in same order they are defined (names are ignored).  Use this tutorial http://www.dbazine.com/sql/sql-articles/cook6 to see how it is done.

- Mark

0
 

Author Comment

by:marmaxx
ID: 17935076
Thanks Mark!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question