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
What are different types of collation sensitivity?
What is star, snowflake and star flake schema? : sql server analysis services, ssas
Can you explain important index characteristics?
what is denormalization? : Sql server database administration
Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?
What is Sqlpaging in SqlServer 2005 ?
Explain ranking functions?
What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?
Mention what are the core components of ssrs?
What is the difference between row_number and dense_rank?
Explain the disadvantages of cursors?
What is your recommendation for a query running very slow? : sql server database administration
Explain the concept of view and Types of views in SQL server?
What is Transparent Data Encryption?
How to create new table with "create table" statements?