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 differece between union and union all

Answer Posted / dinesh waitage

1)Union is used to select distinct values from two tables
where as union all is used to select all values including
duplicates from the tables.

2)UNION - returns on Distinct rows/Slower in performance
UNION ALL.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a linked server in sql server?

1080


How to count duplicated values in a column in ms sql server?

1099


How to connect sql server management studio express to sql server 2005 express?

1049


Explain cursor as data base object?

1045


How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.

3880


How to see existing views in ms sql server?

1049


What is sql view?

1047


Define right outer join in sql server joins?

1053


what is denormalization and when would you go for it? : Sql server database administration

1204


Where are SQL server users names and passwords are stored in sql server?

1273


How to list all login names on the ms sql server?

1146


What is the maximum size of sql server database?

1015


How many types of subqueries are there in sql server?

993


can any body tell me how to know the password of current user in sql server

2076


How to count groups returned with the group by clause in ms sql server?

1068