Solved

UNION without DISTINCT

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

Join & Write a Comment

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…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

758 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

22 Experts available now in Live!

Get 1:1 Help Now