What is the difference between UNION and UNIONALL?

Answer Posted / valarmathi

union is used to retreive the data with out duplication
union all is used to retreive the data with duplication

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update a field in SQL after ALTERING a row?

877


What is a full text index?

667


Working with TLogs

1600


What are the different authentication modes in sql server? How can it be changed?

774


If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio

750






What are indexes in sql?

768


What is etl - extraction, transformation, and loading?

667


How to find the source of a table in sql server?

709


What is self contained scalar sub query?

704


What is the cartesian product of table?

731


How to recompile stored procedure at run time?

725


Which is better statement or preparedstatement?

694


What are the two modes of authentication in sql server?

686


What is cross join in sql server joins?

799


What is cdc in sql server?

738