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,801 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,172 reads

SQLServerCentral Article

5 (4)

You rated this post out of 5. Change rating

2023-11-20 (first published: )

12,091 reads

Blogs

SQL Server 2025 Release Candidate Available

By

For those testing SQL Server 2025 before it officially releases, Microsoft has made the...

Scooby-Doo and the Mystery of Cloud Costs (Let’s have some fun!) – Scooby Dooing Episode 1

By

If there’s one thing I’ve learned in consulting, it’s that SQL Server, and other...

Fabric Real Time Data: Making the Shift from Batch to Live Insights

By

Embracing the New Paradigm Fabric real-time data signals a fundamental shift in how organizations...

Read the latest Blogs

Forums

Encryption or Certificate - Trying to NOT put hardcoded password in Proc

By cFauvel

We have a few stored procs where we need to a dos command "net...

Next dates

By smattiko83

CREATE TABLE ADMITS ( ID_NUM INT varchar(15) null ,provider_id varchar(15) null ,provider_name varchar(36) null...

Moving a database from AWS RDS Custom to RDS Standard

By BrainDonor

Having real fun with this. It isn't possible to set the option group, to...

Visit the forum

Question of the Day

Change Tracking and Database Compatibility

I want to enable Change Tracking for a database. What is the minimum database compatibility level I need to set for the Changetable function to work correctly?

See possible answers