This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
DATETRUNC

A Walkthrough – DATETRUNC Function in SQL Server

June 28, 2024
Pinal Dave
SQL Tips and Tricks
SQL DateTime

One such tool is the DATETRUNC function, introduced in SQL Server 2022. Let’s take a journey to understand how this function can simplify date handling.

Read More
Functions and Missing

Functions and Missing Indexes – SQL in Sixty Seconds 204

June 27, 2024
Pinal Dave
SQL Video
SQL Function, SQL Index

In this blog post, we will discuss the relationship between Functions and Missing Indexes Hints in SQL Server. Functions can reduce query performance.

Read More
ChatGPT Tricks

3 ChatGPT Tricks to Tune SQL Server – SQL in Sixty Seconds 203

June 24, 2024
Pinal Dave
SQL Video
AI, SQL Performance

Here are 3 ChatGPT tricks to tune SQL Server: quick, practical methods to optimize your queries, with a SQL in Sixty Seconds video.

Read More
Majoring in the Minors

Majoring in the Minors in SQL Server Performance Tuning

June 21, 2024
Pinal Dave
SQL Performance
Clustered Index, ColumnStore Index, Execution Plan, SQL Index

We’ll explore how to avoid this common pitfall & Focus the areas that matter for performance improvements. Avoid majoring in the minors. 

Read More
A hand tying one ribbon to each blackberry bush along a lane that has at least one ripe berry.

EXISTS vs IN vs JOIN: Writing Semi-Joins

June 1, 2024
Pinal Dave
SQL Performance
SQL Joins, SQL NULL, SQL Server, SQL Sub Query

Compare EXISTS, IN, and JOIN for semi-joins, prevent duplicate customer rows, and handle NULL safely in exclusion queries.

Read More
A sloping egg rack at a market stall, one hand taking the oldest egg from the front, another adding a fresh one.

DELETE TOP With ORDER BY: Removing the Oldest Rows First

May 1, 2024
Pinal Dave
SQL Tips and Tricks
CTE, SQL Delete, SQL Order By, SQL Server, SQL Top

Use DELETE TOP safely through an ordered CTE, preview oldest rows, apply a supporting index, and remove eligible rows in bounded batches.

Read More
AI

#TSQL2sday Roundup: Has AI Helped You with Your SQL Server Job?

April 12, 2024
Pinal Dave
SQL Tips and Tricks
AI, TSQL2sday

Earlier, I hosted a TSQL2sDay on Has AI Helped You with Your SQL Server Job?. I had lots of fun reading various contributions.

Read More
Illustrated cover: AI-Assisted Tuning

#TSQL2sday: AI-Assisted Query Optimization in SQL Server

April 9, 2024
Pinal Dave
SQL Tips and Tricks
AI, TSQL2sday

For this month’s T-SQL Tuesday, I share my experience with AI-assisted query optimization: a generative AI tool suggested two alternatives to my query.

Read More
AI

#TSQL2sday Invitation: Has AI Helped You with Your SQL Server Job?

April 2, 2024
Pinal Dave
SQL Tips and Tricks
AI, TSQL2sday

I’m thrilled to be your host for this month’s episode – Has AI Helped You with Your SQL Server Job? schedule it for next Tuesday, April 9.

Read More
A hand placing the last berries on a fruit tart as guests arrive, the pattern not perfect but ready to serve.

Optimizer Timeouts: Reason for Early Termination in a Plan

April 1, 2024
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Performance, SQL Server, SQL XML

Diagnose optimizer early termination in SQL Server plans, find cached timeouts with XML, and simplify queries using measured evidence.

Read More
Previous 1 … 11 12 13 14 15 16 17 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com