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 a table with wooden pegs joined by thin threads and one vermilion peg at the centre

MATCH Clause in SQL Server Graph Tables: Query Relationships

October 25, 2023
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server 2017, SQL Server 2019

The MATCH clause finds rows in SQL Server graph tables by describing the path between them. The small graph runs one hop, two hops, a shared skill and a SHORTEST_PATH query, compares the plain join, and shows what the MATCH clause does not allow.

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
A full workshop toolkit beside a smaller toolkit for a finished project

Where to Download SQL Server 2019 for FREE? – Interview Question of the Week #276

May 10, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Download, SQL Sample Database, SQL Server, SQL Server 2019, SQL Server Management Studio

Question: Where to Download SQL Server 2019 for FREE?

Answer: This is one of the most popular questions, I keep on receiving from blog readers.

Read More
Gouache painting of an empty wooden pier ending in a lamp post, small boats bunched around its end and a small vermilion buoy

OPTIMIZE_FOR_SEQUENTIAL_KEY: Test the Last Page Insert Fix

May 6, 2020
Pinal Dave
SQL Performance
Primary Key, SQL Identity, SQL Server 2019, SQL Wait Stats, Testing

OPTIMIZE_FOR_SEQUENTIAL_KEY is an index option that targets last page insert contention. This post tests it with 32 connections that insert into a clustered identity key, with the option off and on. The option changes the kind of waiting, and the post shows how to decide whether it helps your table.

Read More
Title card: Setup Account Does Not Have Administrator Rights

SQL SERVER – Install Error – The Account Running SQL Server Setup Does Not Have Administrator Rights On the Computer. To Continue, Use an Account With Administrator Rights

March 4, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server 2019, SQL Server Installation, SQL Server Security, Starting SQL

In this blog, I would share the steps to identify and fix error – The account running SQL Server Setup does not have administrator rights on the computer.

Read More
Gouache painting of a long tulip with a vermilion bloom in a short cream vase, with a second bloom lying beside it

ANSI_WARNINGS OFF: Why SQL Server Truncates Data Silently

March 3, 2020
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Error Messages, SQL Scripts, SQL Server 2019

With ANSI_WARNINGS OFF, SQL Server cuts a string to fit its column and reports no error. This post runs the same insert with the setting on and off, and shows what else changes: variables, divide by zero and filtered indexes. It also shows how to check which setting a session uses.

Read More
Gouache painting of small round cafe tables on a stone terrace, two sage and one vermilion, with a stack of chairs by the shed door

TempDB Metadata Tables: Check, Enable and Count Them

January 29, 2020
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Scripts, SQL Server 2019, SQL Server Configuration, SQL TempDB

The tempdb metadata tables can live in memory, and four short steps tell you whether yours do. This post checks the setting, shows how to turn it on and off, and counts the tables SQL Server moves. It also says when the feature is worth a restart.

Read More
1 2 3 4 Next
  • Books
  • Testimonials
  • Privacy Policy

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