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
A finite group of loom stations serves a separate tray of waiting yarn bundles.

SQL SERVER – Default Worker Threads Per Number of CPUs

March 9, 2019
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Scripts, SQL Server

The default Worker Threads limit depends on SQL Server version, logical CPUs and memory. A workshop reader asked about automatic configuration.

Read More
A walnut rail with round recesses and one cream peg beside a brass magnifying glass tied with red cord.

GET_BIT: Read a Flag at a Zero-Based Position

March 8, 2019
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

GET_BIT reads a zero-based bit position. Compare tinyint offsets, retain the source value, and check type width before selecting a position.

Read More
Illustrated cover: SQL Server in Docker

SQL SERVER – How to Get Started with Docker Containers with Latest SQL Server?

March 6, 2019
Pinal Dave
SQL Tips and Tricks
Docker, PowerShell, SQL Scripts, SQL Server

My Docker container broke a day before my SQLBits talk and I had to rebuild it. Here is a beginner’s step-by-step guide to running the latest SQL Server in Docker.

Read More
Clean plates wait on a drying rack beside a stack ready to put away

What is Clean Buffer in DBCC DROPCLEANBUFFERS? – Interview Question of the Week #215

March 3, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL Memory, SQL Scripts, SQL Server, SQL Server DBCC

What is a clean buffer in DBCC DROPCLEANBUFFERS? No one had asked me this in 20 years, so here is the answer in the simplest words I could find.

Read More
SQL Server error dialog box.

SQL SERVER – FIX: The specified instance of SQL Server is hosted by a system that is not a Windows Server Failover Cluster(WSFC) Node.

March 2, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Scripts, SQL Server, SQL Server Cluster, SQL Server Configuration

After a cluster rebuild, adding a replica failed: The specified instance is hosted by a system that is not a Windows Server Failover Cluster node. Here is the fix.

Read More
Gouache painting of white card model houses on a drafting table with a vermilion waste bin nearby

Hypothetical Indexes in SQL Server: Find and Drop Them All

February 28, 2019
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Statistics

Hypothetical indexes are leftovers from the Database Engine Tuning Advisor. They hold a name and statistics but no data. This post lists them, shows they cannot serve a query, and drops them in two steps: a list you read first, and a drop second.

Read More
A sieve retains two kinds of smooth pebbles while unwanted sand falls into a bowl

How to Extract Alphanumeric Only From A String? – Interview Question of the Week #214

February 24, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Datatype, SQL Scripts, SQL Server, SQL String

A reader wanted only the values that mix letters and numbers from a column. Here is how to extract alphanumeric values from a string with simple pattern matching.

Read More
Previous 1 … 77 78 79 80 81 82 83 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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