Re: Duplicate record dropped in SQL UNION query...
- From: "David" <David.Aman@xxxxxxxxx>
- Date: 7 Aug 2006 06:14:19 -0700
Thanks for your help, Mark! I searched for help on this issue using
F1, but was unsuccessful. Now I know!
-
David
===========================
Mark Burgum wrote:
that is because union is by default distinct. you need to say 'union all' to
get the behaviour you are asking for.
"David" <David.Aman@xxxxxxxxx> wrote in message
news:1154918374.944418.45950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi --
-
I have 8 tables in a directory. One of the tables has a duplicate
record. The number of records for all 8 tables, including the
duplicate record, is 13,021
-
I joined the 8 tables using SQL UNION. One of the instances of the
duplicate record is NOT part of the resulting cursor. The total number
of records in the cursor is 13,020.
-
How did this happen?
-
Thanks for any help.
David
.
- References:
- Duplicate record dropped in SQL UNION query...
- From: David
- Re: Duplicate record dropped in SQL UNION query...
- From: Mark Burgum
- Duplicate record dropped in SQL UNION query...
- Prev by Date: Re: Using F2 to emulate a button click
- Next by Date: Re: Using F2 to emulate a button click
- Previous by thread: Re: Duplicate record dropped in SQL UNION query...
- Next by thread: Using F2 to emulate a button click
- Index(es):
Relevant Pages
|