Solved

UNION without DISTINCT

Posted on 2006-11-16
2
2,031 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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 …
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

856 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