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
Gouache painting of nested clay bowls on the left and the same bowls spread apart on the right, with the smallest bowl vermilion

TSQL_SCALAR_UDF_INLINING: How to Disable Scalar UDF Inlining

August 1, 2020
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL Server 2019

TSQL_SCALAR_UDF_INLINING is the database scoped setting that switches scalar UDF inlining off. This post builds a demo database, proves with execution counts that inlining is on or off, and shows the narrower switches at function and query level. It ends with the undo statement.

Read More
eliminate join

Creating Covering Index to Eliminate Join – SQL in Sixty Seconds #090

July 29, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Index, SQL Joins, SQL Performance, SQL Scripts, SQL Server

How to improve performance so today we are going to see a video about creating converting index to eliminate join and improve query performance.

Read More
Remove Bookmark Lookup

SQL SERVER – 7 Follow Up Answers to Remove Bookmark Lookup

July 28, 2020
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server

My video on bookmark lookups brought many questions. Here are 7 follow up answers to remove bookmark lookup doubts, starting with STATISTICS IO overhead.

Read More
Gouache painting of six mugs in a row on a shelf in cream, slate blue, vermilion, sage and grey

Day Name From Date in SQL Server: DATENAME, FORMAT and More

July 27, 2020
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

Finding the day name from date values takes one function, but three methods exist, and they differ on language and speed. This post compares DATENAME, FORMAT and a formula that ignores language and DATEFIRST. It measures all three on a million rows and shows how the session language changes the result.

Read More
Paired gloves sit in trays while unmatched gloves remain outside on both sides

What is Full Outer Join With Exclusion? – Interview Question of the Week #286

July 26, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Joins, SQL Scripts, SQL Server

Question: What is Full Outer Join With Exclusion? 

Answer: I got this question after reading my earlier blog post about Basic of JOINs.

Read More
Gouache painting of a line of sandcastles that the tide never reached with a vermilion bucket beside the nearest one

Temp Tables For Destruction: Why the Counter Stays Near Zero

July 25, 2020
Pinal Dave
SQL Tips and Tricks
SQL Counter, SQL Performance, SQL Scripts, SQL TempDB

The Temp Tables For Destruction counter stays flat at zero while Temp Tables Creation Rate moves, and that confuses people. This post explains what each counter counts, reads both from T-SQL, measures a creation loop, and shows that a cached temp table in a procedure moves neither counter.

Read More
Gouache painting of a bicycle wheel on a repair stand with a vermilion fork and a tool tray beside it

Column Statistics in SSMS: Update One With the Dialog

July 24, 2020
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Statistics

You can update column statistics in SSMS from the Properties window of a statistic, but a dialog gives no proof that anything happened. This post lists the steps, then uses T-SQL to prove the update with the modification counter and the sample size. It also shows why a full scan needs a statement of its own.

Read More
Previous 1 … 33 34 35 36 37 38 39 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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