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
ssms install error

SQL SERVER – SSMS Install Error 0x80070652 – Setup is Blocked Due to Another Install Currently running. Please Let the Other Install Complete and then Restart the Computer if Necessary

February 14, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Installation, SQL Server Management Studio, SQL Setup

SSMS install error 0x80070652 says setup is blocked due to another install currently running. Here is what fixed it for me.

Read More
Gouache painting of a wooden coat rack with a single vermilion cap hanging on one peg

Index Design Rules: Ten Don’ts and Where They Break

February 13, 2020
Pinal Dave
SQL Performance
Clustered Index, SQL Index, SQL Scripts, SQL Server

These index design rules came from a client’s list of ten index don’ts, and readers argued with several of them. This post turns the checkable rules into read-only queries on a demo database, and it measures what each rule really costs. The rest are warnings, not laws, and the post says which is which.

Read More
Gouache painting of three fresh rolls in a vermilion basket on a counter in front of a tray of dough still waiting

OPTION FAST N: First Rows Sooner, Total Reads Higher

February 11, 2020
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Scripts, SQL Server

OPTION FAST N tells SQL Server to plan for the first N rows, so the first rows arrive in milliseconds and the whole result costs much more. This post measures both sides on 300,000 rows with logical reads and time to the first row. It also explains why the hint belongs to paging and not to tuning.

Read More
A new adjustable clamp aligns boards while an old clamp rests unused

What is the Replacement of DBCC DBREINDEX? – Interview Question of the Week #263

February 9, 2020
Pinal Dave
Personal
Maintenance Plan, SQL Index, SQL Scripts, SQL Server, SQL Server DBCC

Question: What is the Replacement of DBCC DBREINDEX?

Answer: The answer to this question is very simple.

Here is the syntax:

Read More
Title card: Always On Listener Creation Failed With Error 5

SQL SERVER – Always On Listener Creation Failure – Enabling Object ProdListener Failed With Error 5

February 8, 2020
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Server, SQL Server Cluster, Windows

I have written a few blogs where I explained a few issues about the failure of listener creation failure in a cluster. Let us learn about it.

Read More
Gouache painting of a basket of red apples under an apple tree in an orchard row

DISABLE_OPTIMIZER_ROWGOAL: How a Row Goal Changes the Plan

February 7, 2020
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Scripts, SQL Server

DISABLE_OPTIMIZER_ROWGOAL switches off a row goal, the optimizer’s bet that a query needs only a few rows, and TOP, FAST, IN and EXISTS all place that bet. This post reads the estimates behind it, shows how the plan shape changes, and shows when the bet fails. A covering index fixes the failure, and the hint does not.

Read More
A library trolley carrying a small stack of old books toward a basement stairway, a gap left on the shelf.

Archiving Old Rows to a History Table in Small Batches

February 3, 2020
Pinal Dave
SQL Tips and Tricks
Batch, Output Clause, SQL Delete, SQL Server, SQL Transactions

Make archiving old rows atomic with DELETE OUTPUT, preserved source identifiers, bounded batches, reconciliation, and a job time limit.

Read More
Previous 1 … 57 58 59 60 61 62 63 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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