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 two wheelbarrows by a pile of bricks, one with a single brick and one stacked full in vermilion

Row Mode vs Batch Mode: Measuring the Speed Difference

November 21, 2019
Pinal Dave
SQL Performance
ColumnStore Index, Compatibility Level, Execution Plan, SQL Scripts

A fair test of row mode vs batch mode changes only the execution mode. This post uses a query hint to force row mode at the same compatibility level, checks that both modes return the same rows, and times five runs of each on a three million row table. It also shows a query where batch mode gains nothing.

Read More
Gouache painting of a wheelbarrow with a full vermilion crate of apples and a single apple on a plate behind

Batch Mode on Rowstore: A Simple Example in SQL Server

November 18, 2019
Pinal Dave
SQL Performance
ColumnStore Index, Compatibility Level, Execution Plan, SQL Scripts

Batch mode on rowstore lets SQL Server process rows in groups, even when the table has no columnstore index. This post builds a million row table, reads the execution mode of each plan operator, and flips four switches to show when you get batch mode and when you don’t. It also answers why a plan can stay in row mode.

Read More
A large machine accepts a separate older fitting profile while another profile remains preserved.

SQL SERVER 2019 – Supports Compatibility Level from 2008 to 2019

November 13, 2019
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Scripts, SQL Server, SQL Server Configuration

Compatibility Level from 2008 to 2019 requires separating database migration from engine upgrade support. SQL Server 2019 supports levels 100 through 150.

Read More
A new harp in a sunny music room, a foot moving one brass pedal while a hand plucks a string

Listing Databases Below the Server’s Native Compatibility Level

May 3, 2019
Pinal Dave
SQL Tips and Tricks
Compatibility Level, Query Store, SQL Server, SQL Upgrade

Find databases below the native compatibility level, generate reviewable ALTER statements, and prepare Query Store checks safely.

Read More
A round wooden piece fits its matching opening while other shapes need different openings

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
Two identical dollhouses side by side, each with lights on in different rooms.

Intelligent Query Processing: Checking What Is On per Database

September 25, 2018
Pinal Dave
SQL Performance
Compatibility Level, SQL Performance, SQL Server, SQL Server 2019

Check intelligent query processing by database compatibility level, scoped switches, and actual plan evidence before comparing servers.

Read More
Sql query editor displaying variable.

SQL SERVER – Fix Error: Invalid object name STRING_SPLIT

May 3, 2018
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Error Messages, SQL Function, SQL Scripts, SQL Server, SQL String

A reader on SQL Server 2016 got Invalid object name STRING_SPLIT when trying the new function. Here is why the error shows up and how to fix it.

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

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