What is the difference between UNION and UNIONALL?

Answer Posted / subramanya gv

Union is used to combining the data with out duplication and
effectively it is faster.
Union all is used to combining the data with duplication so
comparatively it is slower.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the events recorded in a transaction log?

508


What are the features of Embedded SQL

674


What are translations and its use? : sql server analysis services, ssas

602


Can a table be moved to different filegroup?

574


How do I make a resultset scrollable?

508






What is proper subset of candidate key?

560


How can we remove orphan records from a table?

526


Explain SSRS Architecture?

139


Which language rdl files made of?

100


What do you understand by a stored procedure?

604


How to delete multiple rows with one delete statement in ms sql server?

519


What are distributed partitioned views?

622


How to use transact-sql statements to access the database engine?

537


How do you create a clustered index?

532


Does an index slow down updates on indexed columns?

577