RE: Calling SP from ADO and passing parameters

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mark (Mark_at_discussions.microsoft.com)
Date: 09/29/04


Date: Tue, 28 Sep 2004 18:31:01 -0700

ADO version? SQL Server version?

But don't use parameters.refresh as this makes a round trip to the server.
Use createparameter instead.

And off the top of my head, the return value is the first item in the
parameters collection.

ADO 2.6 also introduced namedparameters, so I'd read up on those as well.



Relevant Pages

  • Re: How to Mimic Access Externally Linked Tables using ADO?
    ... > using SQL Server for efficiency reasons. ... > connection up programmatically using ADO or ADOX or some SQL Server API? ... >> newsgroup, but if you have a good reason to send me e-mail, you'll find ... ADO does not have a query engine. ...
    (microsoft.public.data.ado)
  • Re: How to access the SQL server express from mfc application?
    ... There are different ways to do this via MFC. ... You could certainly try ADO, ... the entire contents of the database to a SQL Server Standard Server. ...
    (microsoft.public.vc.mfc)
  • Re: DAO vs ADO
    ... and ADO when working with SQL Server data. ... which makes DAO a good choice. ... > add additional overhead by loading Jet, ...
    (microsoft.public.access.conversion)
  • Re: DAO vs ADO
    ... and ADO when working with SQL Server data. ... which makes DAO a good choice. ... > add additional overhead by loading Jet, ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Access and processor usage
    ... "increased bandwidth" using ADO. ... bottleneck - need to step up to Sql Server. ... If the data fits into a 2 GB database file, ...
    (comp.databases.ms-access)