Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: UNION: SQL-tuning
Jan Gelbrich wrote:
> - did You use UNION ALL ? It is said to be better than a mere UNION.
Not better. Different.
UNION - this eliminates duplicates (i.e. performs a select distict in effect).
UNION ALL - does not eliminate duplicates.
Make sure you are using the right SQL for the job.
-- BillyReceived on Thu Sep 12 2002 - 02:57:59 CDT