what is differece between union and union all

Answer Posted / ramesh raja

UNION: combine distinct values between two tables
UNION ALL : combine all values and also duplicates values
between the two tables

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two modes of authentication in sql server?

687


Is null in sql server?

736


What is the difference between the application object and session object?

802


How do I find the sql server instance name?

717


What are the purpose of Normalisation?

796






Can we hide the definition of a stored procedure from a use?

867


what is a sub-report?

113


Difference between drill down and drill through report.

726


Can a table have 2 foreign keys?

666


what information is maintained within the msdb database? : Sql server administration

699


What Is Rdbms?

840


Explain log shipping and mention its advantages.

783


Can you always create a cache of a report?

145


What is ms sql server service broker?

681


Explain the dirty pages?

755