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
Four bead strands show distinct leading beads in widened receiving recesses.

SQL SERVER – Puzzle – Get the First Name From Full Name Without CHARINDEX

February 21, 2018
Pinal Dave
SQL Puzzle
SQL Function, SQL Scripts, SQL Server, SQL String

This First Name From Full Name puzzle excludes CHARINDEX and SUBSTRING. It came from a customer query during a performance health check.

Read More
Gouache painting of a crowded shelf of tiles and a spacious table with tiles in neat rows and a vermilion tray

Sort in TempDB for Faster Index Rebuilds: When It Helps

February 20, 2018
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL TempDB

To sort in tempdb during an index rebuild, add WITH (SORT_IN_TEMPDB = ON) to ALTER INDEX. This post tests the option and shows that the user database log stays the same size, because only the sort workspace moves. It also explains when the option helps, how much tempdb space it needs, and when to leave it off.

Read More
SQL SERVER- Unable to Failover AlwaysOn Availability Group to Disaster Recovery Site

SQL SERVER- Unable to Failover AlwaysOn Availability Group to Disaster Recovery Site

February 19, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL High Availability, SQL Server

A client added a DR node but was unable to failover AlwaysOn Availability Group to it. The listener had only one IP address, and here is the fix.

Read More
Separate glass chambers show log sections of different sizes and activity

How to Get VLF Count and Size in SQL Server? – Interview Question of the Week #161

February 18, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server, Transaction Log, VLF

How do you get VLF Count and size in SQL Server? Newer versions add a Dynamic Management Function for it. Here is the query, plus links to my older methods.

Read More
SQL SERVER - Patch Rule Failure: Not Clustered or the Cluster Service is Up and Online

SQL SERVER – Patch Rule Failure: Not Clustered or the Cluster Service is Up and Online

February 17, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Patch, SQL Server, SQL Server Cluster

A SQL Server 2016 service pack failed the rule “Not clustered or the cluster service is up and online”. Here is what Detail.txt showed and how we fixed it.

Read More
SQL Server Installation Center.

SQL SERVER – Maintenance Plan Error: Cannot Create a Task From XML For Task, Eue to Error 0x80070057. The Parameter is Incorrect. (OnPreExecute)

February 16, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Management Studio, Virtualization

Creating a new maintenance plan on my virtual machine failed with cannot create a task from XML, error 0x80070057. Here is the fix that worked for me.

Read More
A machine housing with an inspection plate removed, a small warning lamp lit beside the opening.

SQL SERVER – Don’t Ignore Warning: Cluster Resource DLL Update Restart Check

February 15, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Cluster, Starting SQL

Patching a clustered SQL instance, setup warned: Cluster Resource DLL Update Restart Check. A hard lesson on why you should not ignore this warning.

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

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