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
A balanced wheelbarrow carries only the needed garden pots while spare pots remain beside it

How to Write Efficient Query? – Interview Question of the Week #300

November 1, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Milestone, SQL Performance, SQL Server

Question: How to Write Efficient Query?

Answer: There is no right or wrong answer to this question. Let us learn about it today.

Read More
A hand carrying three drinks and a plate on one wooden tray across a cafe terrace, worn gravel paths behind.

Rewriting Correlated Subqueries as Window Functions

October 31, 2020
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Performance, SQL Server, SQL Sub Query

Replace correlated subqueries with windowed counts, dates, and running totals, preserve detail rows, and keep useful EXISTS filters.

Read More
Efficient Query

Performance Challenge – Write Efficient Query – SQL in Sixty Seconds #140

October 30, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Operator, SQL Performance, SQL Scripts, SQL Server, SQL Server Management Studio

Recently while working with my client I ended up in a very interesting situation where my client wanted me to write an Efficient Query.

Read More
Title card: Error 8632: Expression Services Limit Reached

SQL SERVER – Fix Error 8632 – Internal Error: An expression Services Limit Has Been Reached

October 29, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Upgrade

When we tried to run a few of their stored procedure. How we can fix Error 8632 – Internal Error: An expression Services Limit Has Been Reached.

Read More
Gouache painting of a wall of wooden cubbies holding envelopes, with one vermilion envelope in one cubby

Scan Count Zero in STATISTICS IO: What the Number Means

October 28, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Statistics

Scan count zero in STATISTICS IO is not an error and not a free read. This post runs nine small queries and shows what 0, 1, 2 and 5 mean, why a unique lookup counts as zero, and why logical reads are the number to compare.

Read More
statistics time

SET STATISTICS TIME ON – SQL in Sixty Seconds 139

October 27, 2020
Pinal Dave
SQL Video
SQL DateTime, SQL in Sixty Seconds, SQL Statistics

Do you know how long your query took to execution? Well, let us learn that today in SQL in Sixty Seconds. We will discuss SET STATISTICS TIME ON.

Read More
A burning candle with an iron nail in its side above a pewter dish, a red ribbon below.

Alerting on Long-Running Queries With a SQL Agent Job

October 26, 2020
Pinal Dave
SQL Performance
Database Mail, SQL DMV, SQL Monitoring, SQL Server, SQL Server Agent

Alert on long-running queries with a five-minute SQL Agent job, a deduplicated log, and one Database Mail notice per new request.

Read More
Previous 1 … 86 87 88 89 90 91 92 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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