Skip to content

Unique Records

2 posts2 contributors

+ FollowBe the first to follow this
Write about it

Articles about Unique Records

  1. How To Get Unique Records Without Using Distinct In SQL Server

    In this guide, you'll learn how to retrieve unique records in SQL Server without using the DISTINCT keyword. We'll explore alternative methods like GROUP BY, ROW_NUMBER(), and Common Table Expressions (CTE) to optimize performance and handle duplicates more efficiently in your queries.

    Onkar SharmaOnkar Sharma6,1951,000
  2. UNION vs UNION ALL in SQL Server

    The SQL UNION operator combines the results of two or more SELECT statements, removing duplicate rows. In contrast, UNION ALL combines results while retaining all duplicates. UNION may impact performance due to the overhead of duplicate removal, whereas UNION ALL is generally faster and more resource-efficient.

    Jaimin ShethiyaJaimin Shethiya2,7501,000