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 continuous thread passes through an external fixture and returns to its loom.

SQL SERVER – PREEMPTIVE Waits and Scheduler Context

November 9, 2020
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Wait Stats

Preemptive waits can measure work outside SQL Server cooperative scheduling. A customer asked about their increase during a health check.

Read More
Distinct tile selection remains separate from a deliberate alignment jig.

SQL SERVER – DISTINCT Does Not Guarantee ORDER BY

November 5, 2020
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Operator, SQL Order By, SQL Scripts, SQL Server

DISTINCT removes duplicate result rows without guaranteeing their order. My original claim that it always sorts output was incorrect.

Read More
TOP and DISTINCT

SQL SERVER – TOP and DISTINCT – Epic Confusion – SQL in Sixty Seconds #141

November 4, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Operator, SQL Performance, SQL Scripts, SQL Server

DBAs from the client’s organization ended up an argument about how T-SQL works. The discussion was about the epic confusion about TOP and DISTINCT.

Read More
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
Previous 1 … 35 36 37 38 39 40 41 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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