Performance and Tuning

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

7,619 reads

Technical Article

Plansplaining, part 20. SQL Graph (part 1)

  • Article

Welcome to part twenty of the plansplaining series. It has been a long time since I last wrote a plansplaining post, partly because of my health, but also for a large part because I was out of ideas. But recently I decided to dig a bit deeper into a feature that was released in SQL Server 2017 and that I had so far not played with: SQL Graph.

2023-12-06

Blogs

Modifying a Trigger to Capture More Info: #SQLNewBlogger

By

I had someone ask me about using triggers to detect changes in their tables....

SQL Server Agent Jobs: Set It and Forget It?

By

Useful tips to make your jobs more stable Too many IT teams treat SQL...

From SQL Server to PostgreSQL: A Story of 5 Key SQL Differences

By

After spending decades working in SQL Server, getting familiar with PostgreSQL felt like traveling...

Read the latest Blogs

Forums

One big server with multiple instances, or multiple smaller servers...

By jasona.work

We're currently on SQL 2019 and will likely be looking to migrate to a...

Transitioning AlwaysOn Availability Group to Synchronous Commit Mode

By abdalah.mehdoini

Hello, I have a SQL Server with an AlwaysOn configuration consisting of three replicas...

CDC & Azure Managed Instances - Performance degredation

By Ant-Green

Anyone got any good advice for performance tuning CDC on a Managed Instance? We...

Visit the forum

Question of the Day

The Trigger Updated Column(s)

In a trigger, I can use UPDATE() or UPDATED_COLUMNS() to determine which columns were changed. For these functions, which one accepts a column name as a parameter?

See possible answers