J
Jonathan Wood
Greetings,
I'm developing an ASP.NET site and need a couple of queries to create
various content. As it stands, I'm running each query separately, reading
the result into a SqlDataReader.
It occurs to me that one thing that consumes a fair amount of time is the
round trip to the database server. Could I benefit by sending multiple
queries at the same time, separated by a semicolon? Is this much faster? How
can I retrieve multiple resultsets this way?
Note: This particular data is handled manually--I'm not sending it to any
databound server controls.
Thanks.
Jonathan
I'm developing an ASP.NET site and need a couple of queries to create
various content. As it stands, I'm running each query separately, reading
the result into a SqlDataReader.
It occurs to me that one thing that consumes a fair amount of time is the
round trip to the database server. Could I benefit by sending multiple
queries at the same time, separated by a semicolon? Is this much faster? How
can I retrieve multiple resultsets this way?
Note: This particular data is handled manually--I'm not sending it to any
databound server controls.
Thanks.
Jonathan