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 brass umbrella stand of identical cream umbrellas, one marked only by a small red tassel.

The sp_ Prefix: Finding Stored Procedures Named the Risky Way

January 11, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Coding Standards, SQL Server, SQL Stored Procedure

Find user procedures with the sp_ prefix across databases, understand the lookup risk, and move callers through a synonym safely.

Read More
A small wooden drawer rests beside a larger matching drawer in a sunlit workshop.

Moving From Express to Standard Without Reinstalling

December 22, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Installation

Plan how to upgrade SQL Server edition from Express to Standard, preserve the instance, and verify databases and applications after setup.

Read More
Loose cords entering a cable comb and leaving with consistent spacing

Collapsing Repeated Spaces and Line Breaks With REGEXP_REPLACE

November 29, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, Command Line, SQL Server

Tabs, line breaks and a sneaky character 160 can all hide in a name that looks fine. Here is how to clean them on purpose.

Read More
An active lucet making cord beside an idle lucet with its feed yarn knotted

CPU-Bound Queries: Comparing worker_time to elapsed_time

October 26, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL CPU, SQL Server

Is a slow query working or waiting? Compare its two clocks and you will know what to fix before anyone buys more CPU.

Read More
A plain measuring ruler beside two small wooden blocks and a blank notebook on a table.

Reading a Benchmark Somebody Else Published

October 6, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Read a database benchmark by checking workload rules, hardware, durability, latency, pricing scope, and whether the test can be repeated.

Read More
Artichokes grouped into clay pots with uneven numbers and an empty pot

Spreading Rows Into Hash Buckets With CHECKSUM and Modulo

September 14, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Equal row counts do not mean equal work, and patterned keys can pile into one bucket. Here is how to test your buckets before adding workers.

Read More
A hand passing a cut rose stem with one spotted leaf and a pouch of soil across a garden gate

Asking a SQL Question That Gets Answered: The Reproducible Script

August 22, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server, Starting SQL

Write a reproducible script with minimal tables, synthetic rows, the failing query, expected results, and the exact SQL Server version.

Read More
Previous 1 … 7 8 9 10 11 12 13 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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