Solved

UNION without DISTINCT

Posted on 2006-11-16
2
2,015 Views
Last Modified: 2009-07-29
Hi guys,

Is there a away to run a Union query which won't automatically DISTINCT the results?

Cheers!
0
Comment
Question by:Cyber-Drugs
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 500 total points
ID: 17954815
Hi Cyber-Drugs,

Select f1,f2 From a
UNION ALL
Select F1,F2 From B

Tim Cottee
0
 
LVL 4

Author Comment

by:Cyber-Drugs
ID: 17954838
Cheers TimCottee!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now