Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Querying Oracle - Passthrough Query vs VBA using Data Connection 1

Status
Not open for further replies.

kjv1611

New member
Jul 9, 2003
10,758
US
Can anyone tell me which would generally perform better? A passthrough query to an Oracle database or running the same SQL through a data connection via VBA?

I'd like to see if I can improve on performance using VBA over the passthrough query.

Or is it not so simple as "VBA > Passthrough" or "Passthrough > VBA"?

Thanks for any thoughts, suggestions, references, etc.
 
For me, passthru SQL is always better than any VBA code using the same SQL code ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks.

I was thinking the passthrough query would be simpler anyway, so if it works the same or better, I'd imagine would be best to stick with it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top