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
Table Variable Stored

Where are Table Variables Stored? – SQL in Sixty Seconds #095

August 6, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Memory, SQL Performance, SQL Scripts, SQL Server, SQL Variable, Temp Table

A very popular question we will answer today Where are Table Variables Stored? Recently I have posted a few videos on my YouTube Channel,

Read More
Gouache painting of a weathervane on a barn roof with a vermilion arrowhead and wheat stalks in front

Statistics That Never Auto Update: Find the NORECOMPUTE Flag

August 4, 2020
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts, SQL Statistics

Statistics that never auto update usually carry a hidden NORECOMPUTE flag, set when an index was created. This post builds a demo table, shows the flagged statistic go stale while its neighbor updates itself, and lists every flagged statistic in a database. It also shows which maintenance commands clear the flag and which keep it.

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

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