B
bwilk77
Right now, I have several passthrough queries that I'm running off of a
Teradata server. Each of these queries can take up to 10 minutes to run a
piece. I have an append query tied to each passthrough query to add the
results to a single table that is stored in my Access database.
I am trying to run each of the queries based on a list of objects that is
stored in another table in my Access database (I have some code that
concatenates all these objects into one string that I plan to place inside an
"IN" statement in my SQL). I would like to run each of these passthrough
queries through VBA so I can pass this string to the passthrough queries.
My problem is I dont know how to connect to the Teradata server to run my
SQL (including my text string of objects) in VBA. Also, once this has run I
dont know how to append these results to a local table.
I know this is pretty vague, but I dont have any code built yet to share as
an example. Any help or examples would be great.
Thanks.
Teradata server. Each of these queries can take up to 10 minutes to run a
piece. I have an append query tied to each passthrough query to add the
results to a single table that is stored in my Access database.
I am trying to run each of the queries based on a list of objects that is
stored in another table in my Access database (I have some code that
concatenates all these objects into one string that I plan to place inside an
"IN" statement in my SQL). I would like to run each of these passthrough
queries through VBA so I can pass this string to the passthrough queries.
My problem is I dont know how to connect to the Teradata server to run my
SQL (including my text string of objects) in VBA. Also, once this has run I
dont know how to append these results to a local table.
I know this is pretty vague, but I dont have any code built yet to share as
an example. Any help or examples would be great.
Thanks.