Abstract

When I get to Chapters 6 and 7, which are all about Recordsets, I discuss lots of different ways to execute queries—many of which don’t require use of the Command object to construct. The one important case where the Command object is required is when you have to capture parameters returned from stored procedures. ADO is very smart when it comes to handling stored procedures. If you aren’t returning OUTPUT parameters, and if you don’t care about the stored procedure return value, you don’t have to construct a Command object—so don’t. On the other hand, I encourage you to use OUTPUT parameters instead of Recordsets. A resultset with a dozen dozen OUTPUT parameters is still faster to manage than a single-row Recordset. But then, almost any approach is faster than constructing a Recordset.KeywordsRound TripParameter ObjectData ProviderVisual BasicExecution PlanThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.