473,432 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,432 software developers and data experts.

What are a pass through and union queries for?

I have been building access databases for a few years now and have never
built a union or pass through query. What are these strange mythical beasts?
What do they do?

Paul
Nov 23 '05 #1
3 21736

"Paul H" <no****@nospam.com> wrote in message
news:ll****************@newsfe7-gui.ntli.net...
I have been building access databases for a few years now and have never
built a union or pass through query. What are these strange mythical beasts? What do they do?

Paul


A union query combines the results from two other queries into a single
output. It's not uncommon to need results from more than one logical source
that can't be generated with a single query.

A pass through query is a query that will be "passed through" to a server,
often via ODBC. The query is executed at the server but the results can be
available within Access. This is very common in an environment where Access
is the front end to a RDBMS like SQL Server or Oracle.

HTH,
Randy

Nov 23 '05 #2
RTFM, Paul.

Passthroughs relate only to data stored in a different database, where
Access (JET) should not process the query, but pass it through.

UNIONs combine several SELECT statements into one read-only resultset.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Paul H" <no****@nospam.com> wrote in message
news:ll****************@newsfe7-gui.ntli.net...
I have been building access databases for a few years now and have never
built a union or pass through query. What are these strange mythical
beasts? What do they do?

Nov 23 '05 #3

I have been building access databases for a few years now and have never
built a union or pass through query. What are these strange mythical beasts?
What do they do?

Paul


A union query combines the results from two other queries into a single
output. It's not uncommon to need results from more than one logical
source
that can't be generated with a single query.

A pass through query is a query that will be "passed through" to a server,
often via ODBC. The query is executed at the server but the results can
be
available within Access. This is very common in an environment where
Access
is the front end to a RDBMS like SQL Server or Oracle.

HTH,
Randy


Heh, funny that, I could have done with a union query on an app that I have
just delivered!

Thanks chaps, very helpful indeed.

Good luck to you.

Paul

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matias Silva | last post by:
Hi Everyone, I wrote a for loop to build several select statements that are combined with a UNION. When I execute one of the queries separately, it works, but when I execute the query with a UNION...
2
by: Fred Zuckerman | last post by:
I have a union query joining two other queries, each with 62 fields. Interestingly, when I open the query it has the correct number of 2850 records. But if I then set a filter (using filter by...
0
by: s_gregory | last post by:
The mdb is considerable size 70 +- mb. A complex union query was working well, but when an additional union select... was added into the query, selecting identical fields from a different source,...
4
by: shaun palmer | last post by:
when or Where do you use a union query ? how can I wright sql, tblPopulation,* tblcustomer,* one to one with all the appropriate attributes(field). Your help would be greatly...
2
by: Enterprise | last post by:
Hi, Here is my code for the Union query "Table union Table union Table ;" The tables are actually queries themselves. I made a form for the query, but when I try to update the...
2
by: Aaron Haspel | last post by:
Greetings Access gurus. I have clients with Access databases in the field that I need to update -- new tables, new indices, new queries, the works. Since these clients may have only the Access...
12
by: Susan Bricker | last post by:
For those of you who have been following my posts - they all pertain to a Dog Competition Organization's Database. There are three classes that the dogs can participate: NOVICE, OPEN, and...
2
by: Tim Marshall | last post by:
Have worked for many years with the above both toegther and separately (as in Jet and reports), I was always under the impression that the order by clause of a query had no real bearing on the...
5
by: BillCo | last post by:
I've encountered a problem while using ADO to save query objects. Union queries created normally (via the interface) appear in adox catelog.procedures rather than catelog.views. This is reasonably...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.