what is differece between union and union all

Answer Posted / samy

Union:
combine two tables and common values to be retrieved no
duplicate values

Union All:

All the values to be retrieved when combine two table.
(duplicate values)

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by indexing files?

574


What is the index requirement in SQL Azure?

72


How many full-text indexes can a table have?

546


What is use of except clause?

621


What command do we use to rename a db, a table and a column?

497






What is the security model used in sql server 2005?

508


What is user defined datatypes and when you should go for them?

577


How many joins in sql server?

516


how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }

1848


Explain syntax for disabling triggers?

518


How to identify current user in ssrs report?

238


What is a data source file?

495


How to bind a view to the schema of the underlying tables?

582


In what version of sql server were synonyms released?

502


What are the restrictions while creating batches in sql server?

581