window functions

SQLServerCentral Article

SQL Window Functions Series: NTILE()

  • Article

Unlock the power of SQL's NTILE function with our latest deep-dive article. Learn to segment your data effectively into quantiles for more nuanced analysis, discover common pitfalls and their solutions, and optimize your queries for peak performance.

4.67 (3)

You rated this post out of 5. Change rating

2024-02-03 (first published: )

4,794 reads

SQLServerCentral Article

SQL Window Functions Series: LAG() and LEAD()

  • Article

Dive deep into the powerful SQL window functions, LAG() and LEAD(). Explore their intricacies, discover real-world examples, and avoid common pitfalls.

5 (3)

You rated this post out of 5. Change rating

2023-12-11

8,106 reads

SQLServerCentral Article

5 (4)

You rated this post out of 5. Change rating

2023-11-20 (first published: )

11,914 reads

Blogs

Sabbatical 3 Review

By

I’m back. My last day of work was Jun 27 and I came back...

Advice I Like: Naps

By

Learn how to take a 20-minute power nap without embarassment. – from Excellent Advice...

SQL Server Management Studio uses the Visual Studio installer

By

Yes, SSMS 21 uses the Visual Studio installer. No, you don’t need to download...

Read the latest Blogs

Forums

Building a Database Dashboard with SSRS

By Nisarg Upadhyay

Comments posted to this topic are about the item Building a Database Dashboard with...

Using Ollama on Windows 11 as an Alternative to Public LLMs

By dbakevlar

Comments posted to this topic are about the item Using Ollama on Windows 11...

Who is Using Standard Edition?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Who is Using Standard Edition?

Visit the forum

Question of the Day

Getting the SQL

If I run this code, what is returned?

SELECT *
 FROM sys.fn_get_sql(0x0500FF7F149270E460F3E0ADD701000001000000000000000000000000000000000000000000000000000000) AS fgs

See possible answers