views:

37

answers:

2

I am not sure if my question is related with the tool for executing the queries. (I am using Query Analyser, Access and AQT generally).

For example I have two queries.

SELECT * FROM Table1

SELECT * FROM Table2

So, do the queries executed sequentially or at the same time? If the are executed at the same time, how to make them execute sequentially?

Thanks.

+3  A: 

It'll be tool-dependent, although every interactive tool I've used does it the same way (sequentially) and anything else would be extremely unusual behavior (and hopefully highlighted by the tool's docs). In Query Analyzer, they'll be sequential.

T.J. Crowder
+1, theoretically a tool "could" run them at the same time, but i've never seen/used one.
Robin Day
A: 

Query analyser runs each statement in a batch sequentially.

Given that they are both SELECT's it wouldn't actually matter whether they ran sequentially.

Mitch Wheat