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 / shabanafazal

in case of 'union' the data of two tables are combined
together with no repetition where as incase of 'union all'
repetition of data is done e.g in table 'A' we have name
saad three times and in 'B' table name 'ssad' is present
one time then in case of 'union' 'saad' is appeard once
(when union of table 'A' and 'B' is done). where as in case
of 'union all' the name 'saad' will repeated four times.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Types of Authentications in Sql Server? How user gets authenticated through windows authentication?

1099


Why use “in” clause in sql server?

1124


We need to perform what steps in the following order to work with a cursor?

1274


What were the latest updates to SQL Azure service?

113


What is difference between equi join and inner join?

1040


Explain the concept of recursive stored procedure.

1024


Why the trigger fires multiple times in single login?

1281


What is a Join and explain its types?

1152


What is merge replication?

1150


What is difference between index and primary key?

1138


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

1170


Can you explain about buffer cash and log cache in sql server?

998


What are cursors stored procedures and triggers?

1084


How to choose all records from the table?

1105


How to update values in a table with update statements in ms sql server?

1062