Difference between Union and Union All keyword?

 Posted by vishalneeraj-24503 on 9/3/2014 | Category: Sql Server Interview questions | Views: 315 | Points: 40
Answer:

1). Both are similar
2). UNION ALL is no longer supported in sql server 2000 onward.
3). UNION returns only unique records from both tables whereas UNION ALL returns all records from both tables.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response