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 sash window latch selecting one pane within a larger window frame

statement_start_offset: Showing the Exact Statement Running Now

February 10, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

A stored procedure runs for forty minutes and you need the busy line. Here is how to pull it out of the batch text without the usual off-by-two mistakes.

Read More
linenumber

SQL Server: How to Display Row Numbers in Query Editor for Efficient Query Editing

February 2, 2023
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio

Let us learn how to Display Row Numbers in Query Editor for Efficient Query Editing. Comprehensive Database Performance Health Check

Read More
An electrotype mold kept separately beside an impression made from it

Updatable Ledger Tables: Proving No One Quietly Changed a Row

January 25, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Update a row in a ledger table and the old version stays. Then verify the history with a digest, and break the digest to see what failure looks like.

Read More
Two frying pans on a stove, butter sizzling in the hot one and sitting solid in the cold one.

Cold Cache vs Warm Cache: Testing Query Speed Fairly

January 9, 2023
Pinal Dave
SQL Performance
SQL Cache, SQL Memory, SQL Performance, SQL Server, Testing

Compare cold cache and warm cache query tests using isolated buffer clearing, logical and physical reads, and controlled measurements.

Read More
A milking pail with two portions of fresh milk added beside a larger retained total

Turning Per-Second Counters Into Real Rates From DMVs

December 13, 2022
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

That per-second counter on your dashboard is probably a running total. Here is how to turn it into a real rate with two samples.

Read More
A hand testing eggs through a wooden sizing ring before packing them, two oversized eggs set aside in a red bowl.

TRY_CAST vs CAST: Finding Rows That Will Not Convert Before a Load

December 7, 2022
Pinal Dave
SQL Tips and Tricks
ETL, SQL Datatype, SQL DateTime, SQL Function, SQL Server

Find text values that will not convert before loading, separate invalid and missing input, and use explicit date styles and culture parsing.

Read More
A market square water pump pouring into a bucket with a smaller bucket nested inside it, water spilling over.

INSERT EXEC: Capturing a Procedure’s Result Set and Its Limits

November 24, 2022
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Stored Procedure, Temp Table

Capture rows with INSERT EXEC, match result columns, understand nested and multiple-result limits, and choose supported alternatives.

Read More
Previous 1 … 3 4 5 6 7 8 9 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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