Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between UNION and UNIONALL?

Answer Posted / amit dixit

Just Above is OK except UNION ALL result modified..
Example:
Table 1 : First,Second,Third,Fourth,Fifth
Table 2 : First,Second,Fifth,Sixth

Result Set:
UNION: First,Second,Third,Fourth,Fifth,Sixth (This will
remove duplicate values)
UNION ALL:
First,First,Second,Second,Third,Fourth,Fifth,Fifth,Sixth
(This will repeat values)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the function of sql server agent windows service?

959


what is raid? : Sql server database administration

995


When you should use a low fill factor?

957


What is dbcc?

1099


What is the New in SQL server 2008?

938


What is snapshot parameter in ssrs?

146


State the difference between local and global temporary tables?

1066


What are the differences between lost updates and uncommitted dependencies?

1034


What is the use of builtinadministrators group in sql server? : sql server security

999


What is dbcc? Give few examples.

981


Give the query of getting last two records from the table in SQL SERVER?

915


Do you know how to implement service broker?

901


Can you tell me about the concept of ER diagrams?

1033


what are constraints? : Sql server database administration

1008


How can we solve concurrency problems?

1014