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 wooden mannequin in a red helmet slides safely down a railed slide while another gives a thumbs up

Stop Blaming the User: Let Constraints Catch Bad Data

July 23, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Developer, SQL Constraint and Keys, SQL Humor

Blaming the user is the oldest joke in IT. Here’s why it fails, and how NOT NULL, CHECK, UNIQUE and foreign keys stop bad data before it lands.

Read More
A wooden mannequin hunts under sofa cushions while a small mannequin outside holds up the red car keys

SQL Error Riddles: Parent Keys Not Found and Other Classics

May 29, 2010
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Constraint and Keys, SQL Error Messages, SQL Humor

SQL error riddles have been passed around for years. Here are the classics, told kindly, with the real SQL Server error behind each punchline.

Read More
Cartoon: a cave wall painting of a red berry with a big angry line through it, the words RED BERRY = NO scratched underneath, and a small lizard reading it by torchlight.

SQL Server Cheat Sheet

April 11, 2010
Pinal Dave
SQLAuthority News
Cheatsheet, SQL Humor, SQL Server

This is a post about a SQL Server cheat sheet, but not yet. First comes the history of the cheat sheet, from the first cave wall to the recipe card that cheats you, and the five laws every cheat sheet obeys. Then the new 2025 edition.

Read More
fun quotes

SQLAuthority News – Fun Quotes about Technology

March 31, 2010
Pinal Dave
Personal
SQL Humor, SQL Server

SQL Server can be a boring subject at times, so here are some fun quotes about technology from Thomas Edison, Douglas Adams and others to lighten the day.

Read More
SQL SERVER - Comic Slow Query - SQL Joke

Slow Query Cartoon: Filtered Indexes and Functions, Tested

October 13, 2009
Pinal Dave
SQL Performance
SQL Humor, SQL Index, SQL Performance, SQLAuthority Author Visit

This slow query cartoon from Community TechDays in Ahmedabad answers a slow query with questions, not an automatic index. The tests here measure a full index against a filtered index, show why a function on a column forces a scan, and show a parameter case where the filtered index is skipped.

Read More
A wooden mannequin hands a neat parcel to a help desk while the next one holds only a single loose screw

How to Ask a SQL Question That Actually Gets Answered

January 12, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Self Help, SQL Humor, SQL Server

Want a fast answer? Here’s how to ask a SQL question with a small script, the exact error and the expected result, so helpers can answer.

Read More
Gouache painting of a person sorting punctuation into a separate tray beside a database cabinet

SQL Injection: The Joke, the Failure and the Parameter Fix

October 12, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Dynamic SQL, SQL Humor, SQL Server Security

SQL Injection makes a good joke and a terrible incident. The tests here show a concatenated query returning every row for one hostile name, the same text passed as a parameter returning none, a table name caught by QUOTENAME, and a read-only user blocked from dropping a table.

Read More
Previous 1 2 3 4 Next
  • Books
  • Testimonials
  • Privacy Policy

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