difference between RANK() and DENSE_RANK() functions

Overview of SQL RANK functions

July 3, 2019 by

We perform calculations on data using various aggregated functions such as Max, Min, and AVG. We get a single output row using these functions. SQL Sever provides SQL RANK functions to specify rank for individual fields as per the categorizations. It returns an aggregated value for each participating row. SQL RANK functions also knows as […]

SQL Server training

July 2, 2019 by

This one-stop SQL page is a complete tutorial for both beginners and advanced SQL users to help them learn and enhance their SQL Server skills. SQL Server Basics This is an index of links that organize and catalog basic topics in SQL Server like a particular operation or data type. The topic categories include DDL […]

Optimizing SQL Server index strategies

July 2, 2019 by

Index strategies overview This article is about techniques for optimizing the SQL Server indexes strategy. It is an appendix of the SQL index overview and strategy article in which I covered different areas like what indexes actually do, how to create them, and I briefly mentioned some index design guidelines. Furthermore, I also presented an […]

Data Manipulation Language (DML)

June 27, 2019 by

In this page, we will explore the useful Data Manipulation Language (DML) commands such as Insert, Update along with examples. Add Column SQL Add Column operations Aggregate Functions How to use Window functions in SQL Server ALL AND ANY SQL Server universal comparison quantified predicates (ANY, ALL, SOME) Approx_Count_Distinct The new SQL Server 2019 function […]