what is differece between union and union all

Answer Posted / shyam

Union: It will combine the output of two or more queries &
it will eliminate duplicate values.

Union all:It will combine the output of two or more queries
& it will not eliminate duplicate values.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the log file is a part of file group?

725


What will be the maximum number of index per table?

715


How to connect to a sql server using odbc_connect()?

835


What is the meaning of resultset type_scroll_insensitive?

730


What is transaction server isolation?

748






Name 3 of the features that the sql server built-in function loginproperty performs on standard logins? : sql server security

860


Is sql server free?

671


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?

835


What does set rowcount do?

689


explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

694


What is collation?

880


What are the different types of sql server replication? : sql server replication

804


How do database indexes work?

717


Explain the difference between functions and stored procedures in sql server?

676


What is rolap and its advantage? : sql server analysis services, ssas

937