RetiredDBA.com

Blog covers all things for Microsoft SQL Server

Remember Smelly Cats on Cheers? Have your noticed your TSQL code smells too?

Interesting blog about an updated version of a free Redgate booklet by Phil Factor (real name withheld to protect the guilty): SQL Code Smells

Some good points by Phil Factor in these 6 major areas DBAs should be smelling:

  • Problems with Database Design
  • Problems with Table Design
  • Problems with Data Types
  • Problems with expressions
  • Problems with naming
  • Problems with routines

Here’s where to get the latest copy of SQL Code Smells: Learn about common SQL code smells – and see how SQL Prompt can help you find them in your code

DBAs don’t hold your nose to smelly SQL code. Fix your older smelly SQL code now! And only you can prevent new smelly code before you deploy to production.