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 hand checking every coat on a row of hooks for the one with a red lining

Leading Wildcard LIKE Searches: Why They Scan and What Helps

December 25, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Server, SQL String

Diagnose a leading wildcard LIKE scan and compare prefix search, reversed suffix keys, full-text search, and n-gram indexing.

Read More
Database column collation.

SQL SERVER – Change Collation of Database Column – T-SQL Script

December 20, 2008
Pinal Dave
SQL Performance
SQL Collation, SQL Scripts, SQL Server Security, SQL Utility

How to change collation of database column with ALTER TABLE ALTER COLUMN and COLLATE, then check it in sys.columns. A short test script shows each step.

Read More
A hand holding a stethoscope to the flank of a calm chestnut horse in a stable, a closed leather bag nearby

Five DMVs Worth Memorizing

December 19, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Server, SQL Wait Stats

Five DMVs worth memorizing show SQL Server sessions, active requests, waits, index use, and file I/O during an incident.

Read More
A trail camera on a fence post watches one sheep standing in a narrow gateway while another waits behind it.

The Blocked Process Report

December 8, 2008
Pinal Dave
SQL Performance
SQL Extended Events, SQL Lock, SQL Monitoring, SQL Server, SQL Server Configuration

The blocked process report shows the waiting session and blocker after a configured threshold, with Extended Events capturing the XML for review.

Read More
Two glass jars on a garden wall, one empty, one filled with water under a red lid

Comparing Two Wait Stats Snapshots to See What Changed

December 8, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Wait Stats

Compare wait stats snapshots over a chosen window, subtract cumulative counters, remove background waits, and calculate rates and average waits.

Read More
Execution Plan Tool Window.

SQL SERVER – Interesting Observation – Use of Index and Execution Plan

November 30, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Scripts

Three AdventureWorks examples show how the Query Optimizer picks an index, what happens when you force one, and how that changes the index and execution plan.

Read More
SQL Server results window with contact information.

SQL SERVER – Interesting Observation about Order of Resultset without ORDER BY

November 24, 2008
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Scripts

Two simple AdventureWorks queries return the same rows in a different order without ORDER BY. I explain why that order is never guaranteed.

Read More
Previous 1 … 96 97 98 99 100 101 102 … 120 Next
  • Books
  • Testimonials
  • Privacy Policy

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