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
Set fips flagger.

How to check the ANSI Compatibility of SQL Server Queries? – Interview Question of the Week #221

April 21, 2019
Pinal Dave
SQL Interview Questions and Answers
Compatibility Level, SQL Scripts, SQL Server

How do you check the ANSI compatibility of SQL Server queries? A client asked me this unique question, and the FIPS standard helps keep your code portable.

Read More
Set Arithabort Off.

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
How to Compile Queries.

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
How to Limit Output of.

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
SQL Server quoted identifier banner.

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
Execution plan with parallelism cost.

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
Poor performance caused by memory and CPU.

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
Previous 1 … 10 11 12 13 14 15 16 … 60 Next
  • Books
  • Testimonials
  • Privacy Policy

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