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
Two different sealed jars travel together in a wooden crate between stone shelves

How to Move SQL Server MDF and LDF Files? – Interview Question of the Week #189

September 2, 2018
Pinal Dave
SQL Interview Questions and Answers
File format, SQL Scripts, SQL Server

How do you move SQL Server MDF and LDF files? Detach and attach is the old way, so here is the step-by-step method I use for my clients today.

Read More
User defined function to extract only numbers from string.

SQL SERVER – UDF – User Defined Function to Extract Only Numbers From String – Number Table Method

August 30, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

I rewrote my User Defined Function to extract only numbers from a string. The new one uses a numbers table, also called a Tally table, instead of a WHILE loop.

Read More
Database CheckCompletion error.

SQL SERVER – Unable to Attach Database Files – The PageAudit Property is Incorrect – Ransomware Attack

August 29, 2018
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Error Messages, SQL Log, SQL Scripts, SQL Server, SQL Server Security

After a ransomware attack, a client could not attach database files and saw: The PageAudit property is incorrect. Here is what the error means.

Read More
Wood shavings are inspected beside the joinery work that produced them.

SQL SERVER- High CPU and Transaction Type WorkFileGroup_fake_worktable and Workfile

August 28, 2018
Pinal Dave
SQL Performance
SQL Error Messages, SQL Operator, SQL Performance, SQL Scripts, SQL Server, SQL TempDB

Workfile and WorkFileGroup_fake_worktable were clues in a customer high-CPU investigation. I correlated them with queries and plan evidence.

Read More
A crowbar lifting a cracked paving slab from a garden path, a new slab leaning on a red bucket

SQL SERVER – How to DROP or DELETE Suspect Database?

August 27, 2018
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Error Messages, SQL Server

A client’s production database was stuck in suspect state and they could not even drop it. Here is how I helped them drop the suspect database.

Read More
A magnifying glass highlights a crack in one ceramic cup among intact cups

What Part of the SQLDump Suggest Database Corruption? – Interview Question of the Week #188

August 26, 2018
Pinal Dave
SQL Interview Questions and Answers
Database Corruption, SQL Error Messages, SQL Server, SQL Server DBCC, Transaction Log

What part of the SQLDump suggest database corruption? A reader asked, and I show the DbccResults tag in the SQLDump text file that confirms it.

Read More
Gouache painting of two brass posts joined by a cream rope across an open doorway, a vermilion tassel hanging from the rope

Msg 5123: CREATE FILE Access Denied on TempDB After Disk Migration

August 25, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Cluster, SQL TempDB, Windows

Msg 5123 with operating system error 5, Access is denied, kept SQL Server from starting on a cluster after a disk migration. TempDB files could not be created on the new drive. Giving the SQL Server service account Full Control on the folders fixes it.

Read More
Previous 1 … 106 107 108 109 110 111 112 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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