Union VS Union All



Union
Union All
used to combine ( set operation ) two or more query results

Used to combine (set operation) two or more query results

UNION will eliminate duplicate rows

UNION ALL will display all rows.

Comments

Popular posts from this blog

Announcing backup and restore improvements for large datasets near the size limit

Enhanced refresh with the Power BI REST API is now generally available

What’s New in SQL Server 2014 since SQL Server 2008 R2