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

what are the important architecture components of SSRS?

94


What do you understand by replication in sql server?

574


How to check parameter value in stored procedure sql server?

464


What is sql view?

542


Explain different types of Normalization.

599






Explain ranking functions?

610


Tell me what is log shipping?

569


What objects does the fn_my_permissions function reports on? : sql server security

559


Can group functions be used in the order by clause in ms sql server?

588


what is bit datatype? : Sql server database administration

508


Which tcl commands are available on the sql server?

607


What are built in functions?

578


Determine when an index is appropriate?

558


How do I find query history in sql server?

516


What are different types of replication in sql server?

572