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 candle snuffer positioned over one lit candle among several unlit candles

Finding Hard-Coded Passwords in Stored Procedures

August 21, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server, SQL Stored Procedure

A short regular expression can list the procedures that hide a password, without printing it. Here is the scan, its false alarms and its blind spots.

Read More
Several rows of clay discs waiting for the single working position of an arbor press

Serial Zones in Parallel Plans: Where One Thread Does the Work

July 12, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, Parallel, SQL Server

A parallel plan can still leave one core busy. See a harmless serial zone, a costly one, and how to read per-thread rows from the plan.

Read More
A capped nut driver beside several visibly connected mechanical components

Listing Server Credentials and Where They Are Used

July 6, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Credentials hide their secrets but still tell you who depends on them. Build a small demo and follow a credential to its login, proxy and job step.

Read More
Two differently colored shoes fitting the same adjustable shoe stretcher

Names That Differ Only by Case: Finding Them With COLLATE

June 20, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL CASE, SQL Server

A case-insensitive target can turn two rows into one. This walk-through finds the colliding names first, including the ones with trailing spaces.

Read More
A spring balancer supporting a linked guide between two fabric rolls

DATE_CORRELATION_OPTIMIZATION: Helping Joins on Related Dates

June 12, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Joins, SQL Server

SQL Server can learn that an order date and a ship date move together. Here is a small demo of the read savings and the trade you accept.

Read More
A hand dropping bolts through a brass ring gauge, one oversized bolt caught on the rim

Linting T-SQL: Rules Worth Automating in a Build

June 4, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, DevOps, SQL Coding Standards, SQL Server

Use linting T-SQL to flag repeatable code risks, review catalog-based candidates, and automate confirmed rules without false certainty.

Read More
A fastened linen cuff beside a loose matching cufflink with its hinged bar open

ENCRYPTBYPASSPHRASE: Simple Encryption and Its Weak Spot

April 27, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server, SQL Server Encryption

One function in, one function out, and then the real question: where does the passphrase live? A short tour with demos you can run.

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

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