Discussion:
Does SQL Run Behind Queries?
(too old to reply)
trip_to_tokyo
2010-06-05 10:39:06 UTC
Permalink
Access 2007

When I run a query does Access, "go away" and run the SQL for what I see in
the GUI?

If the answer is, "yes" is there anything that I can switch on to see the
SQL that it is running?

What I would like to do, if it is possible, is to see the query in the GUI
and, at the same time, see the SQL that is being used to select the data from
the database; that way I can understand things (exactly what is happening)
more clearly and more quickly.

TIA for any replies.
Rick Brandt
2010-06-05 18:19:04 UTC
Permalink
Post by trip_to_tokyo
Access 2007
When I run a query does Access, "go away" and run the SQL for what I see
in the GUI?
If the answer is, "yes" is there anything that I can switch on to see the
SQL that it is running?
What I would like to do, if it is possible, is to see the query in the GUI
and, at the same time, see the SQL that is being used to select the data
from the database; that way I can understand things (exactly what is
happening) more clearly and more quickly.
TIA for any replies.
Queries have three view options.

Datasheet
Design
SQL

There is no option to see the last two at the same time, but you can
certainly look at the SQL.
trip_to_tokyo
2010-06-05 12:56:34 UTC
Permalink
Rick, many thanks.
Post by Rick Brandt
Post by trip_to_tokyo
Access 2007
When I run a query does Access, "go away" and run the SQL for what I see
in the GUI?
If the answer is, "yes" is there anything that I can switch on to see the
SQL that it is running?
What I would like to do, if it is possible, is to see the query in the GUI
and, at the same time, see the SQL that is being used to select the data
from the database; that way I can understand things (exactly what is
happening) more clearly and more quickly.
TIA for any replies.
Queries have three view options.
Datasheet
Design
SQL
There is no option to see the last two at the same time, but you can
certainly look at the SQL.
.
John W. Vinson
2010-06-05 15:41:16 UTC
Permalink
Post by trip_to_tokyo
Access 2007
When I run a query does Access, "go away" and run the SQL for what I see in
the GUI?
If the answer is, "yes" is there anything that I can switch on to see the
SQL that it is running?
What I would like to do, if it is possible, is to see the query in the GUI
and, at the same time, see the SQL that is being used to select the data from
the database; that way I can understand things (exactly what is happening)
more clearly and more quickly.
TIA for any replies.
The SQL *IS* the query.

The GUI is not the query; it's a tool that makes it easier to construct SQL.

You can view the query in the GUI or in SQL, toggle back and forth, look at
either one. You can't see the SQL "while the query is running" though, as far
as I know, if you mean in the same window.
--
John W. Vinson [MVP]
Loading...