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 an old dusty wooden plane pushed aside next to a gleaming vermilion plane

DBCC DBREINDEX: Replace It With ALTER INDEX in SQL Server

August 26, 2019
Pinal Dave
SQL Performance
Maintenance Plan, SQL Deprecated Feature, SQL Index, SQL Scripts

DBCC DBREINDEX still runs on SQL Server 2025, but it is deprecated, and ALTER INDEX does everything it did and more. This post rebuilds a fragmented demo table both ways, shows the options only ALTER INDEX has, and finds old uses of DBCC DBREINDEX in your own modules, Agent jobs and the deprecation counter.

Read More
A small bottle jack supporting a large stone slab with its contact points visible

Plan Properties Window: Where the Useful Numbers Hide

April 15, 2019
Pinal Dave
SQL Tips and Tricks
Execution Plan, Maintenance Plan, SQL Server

The execution plan picture only shows the shape. The properties window shows what really happened, and I walk through it on a tiny example.

Read More
Two ski tracks leaving the same spot on a snowy hill, one in easy turns, one ending in a scuffed hollow by a red ski pole

Finding the Plan That Changed: Query Store Plan History

January 7, 2019
Pinal Dave
SQL Performance
Execution Plan, Maintenance Plan, Query Store

Read Query Store plan history, compare duration by interval, find plan changes, and review a temporary force with an exit plan.

Read More
Books are neatly arranged while a separate record book remains unchanged

Do Index Reorganization Update Statistics? – Interview Question of the Week #196

October 21, 2018
Pinal Dave
SQL Interview Questions and Answers
Maintenance Plan, SQL Index, SQL Performance, SQL Scripts, SQL Server, SQL Statistics

Question: Do Index Reorganization Update Statistics?

Answer: No. Index Reorganization does not update Statistics of your database.

Read More
Gouache painting of a maintenance checklist beside an hourglass and marked calendar

Integration Services Evaluation Period Has Expired: Maintenance Plan Fails

June 6, 2018
Pinal Dave
SQL Tips and Tricks
Maintenance Plan, SQL Backup and Restore, SQL Error Messages, SSIS

The Integration Services evaluation period can expire while the Database Engine keeps running, and the maintenance plan that depends on it fails. In one client case backups stopped. These checks show how to find the failure, close the backup gap and identify the expiring component.

Read More
Manage Connections tool window.

SQL SERVER – Maintenance Plan Error: Failed to Acquire Connection “Local Server Connection”.

May 22, 2018
Pinal Dave
SQL Tips and Tricks
Computer Network, Maintenance Plan, SQL Connection, SQL Error Messages, SQL Server

None of the maintenance plans worked, though the jobs ran fine. The error was failed to acquire connection “Local server connection”. Here is why.

Read More
SQL named pipes settings.

SQL SERVER – The SaveToSQLServer Method Has Encountered OLE DB Error Code 0x80004005

December 27, 2017
Pinal Dave
SQL Tips and Tricks
Computer Network, Maintenance Plan, SQL Error Messages, SQL Server

While saving maintenance plan on my lab server, I encountered below error in SQL Server Management Studio. Let us see how to solve the error related to OLE DB Error. 

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

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