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

What do you understand by the analysis services in sql server?

950


How to loop through the result set with @@fetch_status?

1362


How to create a ddl trigger using "create trigger" statements?

1139


What are locks in sql?

989


what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?

1976


How to enter binary string literals in ms sql server?

1169


What is a deadlock and what is a live lock?

1005


What is an example of a primary key?

996


What is filestream?

1007


What is a raid and what are different types of raid configurations?

1270


What is Extended user-defined?

967


what does the automatic recovery do? : Sql server administration

1029


Explain log shipping?

1031


Explain the purpose of indexes?

985


Where is localdb stored?

952