small medium large xlarge

SQL Antipatterns: Avoiding the Pitfalls of Database Programming now in print

June 09, 2010

Now in print and shipping: Most of us aren’t SQL experts, and most of the SQL that gets used is inefficient, hard to maintain, and sometimes just plain wrong. SQL Antipatterns shows you all the common mistakes and leads you through the best fixes. What’s more, it shows you what’s behind these fixes, so you’ll learn a lot about relational databases along the way.

Tell your friends! Tweet this

SQL Antipatterns: Avoiding the Pitfalls of Database Programming

Ready to write better SQL?

Each chapter in this book helps you identify, explain, and correct a unique and dangerous antipattern. The four parts of the book group the antipatterns in terms of logical database design, physical database design, queries, and application development.

The chances are good that your application’s database layer already contains problems such as Index Shotgun, Keyless Entry, Fear of the Unknown, and Spaghetti Query. This book will help you and your team find them. Even better, it will also show you how to fix them, and how to avoid these and other problems in the future.

SQL Antipatterns gives you a rare glimpse into an SQL expert’s playbook. Now you can stamp out these common database errors once and for all.

Whatever platform or programming language you use, whether you’re a junior programmer or a Ph.D., SQL Antipatterns will show you how to design and build databases, how to write better database queries, and how to integrate SQL programming with your application like an expert. You’ll also learn the best and most current technology for full-text search, how to design code that is resistant to SQL injection attacks, and other techniques for success.

Now in print and shipping from

P.S. If you’re reading someone else’s copy of this newsletter, why not subscribe and get your own? Just sign up for an account on and we’ll send it straight to you.

Coming Soon:

  • The Pragmatic Guide series
  • Hello, Android 3rd Ed in print
  • HTML5 and CSS3 in beta

Recently Released:

Thanks for your continued support,

Dave & Andy