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

Why I can not enter 0.001 second in date and time literals in ms sql server?

1112


What is left outer join in sql server joins?

1110


How does index makes search faster?

1027


What is a cube? : sql server analysis services, ssas

1055


Write a code to select distinct records without using the DISTINCT keyword.

1186


Ways to improve the performance of a SQL Azure Database?

125


Why do we use sql limitations? Which constraints can we use while making a database in sql?

1130


Explain the properties of a relational table?

1079


explain different types of constraints? : Sql server database administration

1004


what are user defined datatypes and when you should go for them? : Sql server database administration

1065


what is a sub-report?

146


Where can you add custom error messages to sql server?

1168


Explain “@@rowcount” and “@@error” in sql server?

1136


What is the default value of an integer data type in sql server 2005?

1000


What is the difference between web edition and business edition?

113