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
Two similar cooking pots behave differently under different conditions

Does ARITHABORT Setting Negatively Impact SQL Server Performance? – Interview Question of the Week #220

April 14, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Server, SQL Server Management Studio

Does the ARITHABORT setting hurt SQL Server performance? Yes, because with ARITHABORT OFF SQL Server can build a very different plan and queries may slow down.

Read More
An empty theatre stage is prepared for a performance that has not begun

How to Compile Queries and Not Execute Them? – Interview Question of the Week #219

April 7, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server

How do you compile queries and not execute them? SET NOEXEC ON validates the syntax without running the statement, as this simple SSMS example shows.

Read More
A paper roll releases a limited length while the rest remains on the spool

How to Limit Output of Varchar(max), Nvarchar(max) in SELECT Statement? – Interview Question of the Week #218

March 31, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL String

How do you limit the output of Varchar(max) or Nvarchar(max) in a SELECT statement? A simple trick does it, and it works for varbinary(max), text and ntext too.

Read More
Two facing doors have paired brass handles, suggesting two interpretations of the same enclosure

How Does QUOTED_IDENTIFIER Works in SQL Server? – Interview Question of the Week #217

March 24, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server Configuration

How Does QUOTED_IDENTIFIER Works in SQL Server? I explain it in very simple words, using SELECT “Order By” with the setting OFF and then ON.

Read More
Different weighted bags balance on a simple beam, illustrating cost comparison

Do Queries Always Respect Cost Threshold of Parallelism? – Interview Question of the Week #216

March 17, 2019
Pinal Dave
SQL Interview Questions and Answers
Parallel, SQL Performance, SQL Scripts, SQL Server

Do queries always respect the Cost Threshold for Parallelism? Not always, and a quick AdventureWorks test with the execution plan shows why.

Read More
A kiln is ready but unfinished pottery crowds the available workbench

How to Know When Memory Constraints are Negatively Impacting CPU in SQL Server? – Interview Question of the Week #216

March 10, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL CPU, SQL DMV, SQL Memory, SQL Scripts, SQL Server

How do you know when memory constraints are hurting CPU in SQL Server? Someone asked me this loaded question before a Health Check, and here is my answer.

Read More
Clean plates wait on a drying rack beside a stack ready to put away

What is Clean Buffer in DBCC DROPCLEANBUFFERS? – Interview Question of the Week #215

March 3, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL Memory, SQL Scripts, SQL Server, SQL Server DBCC

What is a clean buffer in DBCC DROPCLEANBUFFERS? No one had asked me this in 20 years, so here is the answer in the simplest words I could find.

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

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