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
Illustrated cover: Temp Table vs Table Variable

SQL SERVER – Temp Table vs Table Variable – Cardinality Estimation

January 17, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server, SQL TempDB, Temp Table

I had a very interesting conversation with one of my clients about Cardinality Estimation for Temp Table vs Table Variable. Let us discuss it today.

Read More
Gouache painting of a weathered wooden fingerpost at a crossroads, its vermilion arm pointing at an empty field while a small stone cottage stands in the other direction

SQL Agent Error 7000: The System Cannot Find the File Specified

January 16, 2020
Pinal Dave
SQL Tips and Tricks
Registry, SQL Error Messages, SQL Server, SQL Server Agent, SQL Server Services

SQL Agent error 7000 (event ID 7000) stopped the SQL Server Agent service from starting after an operating system restart. The service’s path to its executable pointed to the wrong drive. Correcting the ImagePath value in the registry let the service start.

Read More
A tray of flat-head screwdrivers beside a closed wooden box, a hand hovering between them on a workbench.

Why a Filtered Index Is Ignored by Parameterized Queries

January 15, 2020
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Index, SQL Performance

Explain why a filtered index is ignored with parameters, inspect plan warnings, and compare literal filters, RECOMPILE, and coverage fixes.

Read More
Gouache painting of an old wooden rowboat tied to a dock cleat with a vermilion rope pulled into a tight knot

Error 15141: Upgrade Fails Because a Login Owns an Availability Group

January 14, 2020
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Scripts, SQL Server, System Database

Error 15141 means the server principal owns one or more availability groups and cannot be dropped. The msdb110_upgrade.sql script failed on a DROP LOGIN, and the script level upgrade for master failed with it. Changing the group owner to sa let the upgrade finish.

Read More
Gouache painting of a small cream wooden panel with two toggle switches on a plaster wall, one flipped up with a vermilion tag and one flipped down

Msg 8152 Still Showing in SQL Server 2019: Check Compatibility Level

January 13, 2020
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Error Messages, SQL Scripts, SQL Server 2019, SQL String

Msg 8152 still appears in SQL Server 2019 when the database runs at compatibility level 140. At level 150 you get Msg 2628, which names the column. The setting VERBOSE_TRUNCATION_WARNINGS also controls it.

Read More
Sorted paper fills a worktable while excess slips rest in a side basin

What is TempDB Spill in SQL Server? – Interview Question of the Week #259

January 12, 2020
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Memory, SQL Scripts, SQL Server, SQL TempDB

When SQL Server uses TempDB when any query does not have enough memory to do its operation, it is called TempDB Spill. Let’s learn today.

Read More
Gouache painting of a small wooden wheelbarrow heaped above its rim with cream stones, one vermilion stone on top

Setup Error 1603: Patch Fails With Not Enough Disk Space on the Volume

January 11, 2020
Pinal Dave
SQL Tips and Tricks
Disk, SQL Error Messages, SQL Log, SQL Patch, SQL Server

Setup error 1603 appeared for three features in a SQL Server patch, all pointing to one component log. That log said Disk full: there is not enough disk space on the volume D. Freeing space on the drive was the corrective action.

Read More
Previous 1 … 133 134 135 136 137 138 139 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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