Jump to ratings and reviews
Rate this book

100 SQL Server Mistakes and How to Avoid Them

Rate this book
All the mistakes you might make with SQL Server—and how to avoid them!

100 SQL Server Mistakes and How to Avoid Them prepares you for the pitfalls database professionals often encounter—from administration to development, availability, and security. You'll learn to sidestep common errors that slow down your T-SQL code and ensure your SQL Server is installed and configured to handle anything your organization throws at it.

Inside 100 SQL Server Mistakes and How to Avoid Them you'll learn to

• Development errors when writing T-SQL
• Installation and administration mistakes
• Optimization missteps
• Common pitfalls relating to high availability and disaster recovery (HA/DR)
• Security oversights that can endanger your data

100 SQL Server Mistakes and How to Avoid Them doesn't focus on the "happy path"—instead, it covers all the errors and problems you might face as a SQL Server developer or administrator. Each chapter is filled with real-world issues drawn from author Peter A. Carter’s two-decade-long career in SQL Server. Peter's seasoned advice helps dispel myths, debunk misconceptions, and set you on the right road.

About the technology

Perfecting a SQL Server system can be a complex balancing act. Why is T-SQL running so slowly? Is the right data available? Are we protected against data theft? What about that new server instance I need to administer? Even the most skilled SQL Server experts make mistakes that cost time and performance. This book can help you get it right the first time.

About the book

100 SQL Server Mistakes and How to Avoid Them focuses exclusively on the errors that you might—and probably will—make as a SQL Server admin or developer. Real-world examples, code samples, and helpful diagrams make it easy to understand each issue and its solution. You’ll learn how to write performant code, design efficient database schemas, implement error handling, work with complex data types, and much more, all in a friendly, common-sense problem/solution format.

What's inside

• T-SQL development
• Installation, administration, and optimization
• High availability and security

About the reader

Readers need to understand basic SQL Server concepts and SQL queries. Perfect for junior database admins, full-stack developers, and “accidental” DBAs.

About the author

Peter A. Carter is a SQL Server expert with experience developing, administering, and architecting data-tier applications and SQL Server platforms.

Table of Contents

1 Introducing SQL Server
2 Development standards
3 Data types
4 Database design
5 T-SQL development
6 SSIS development
7 Error handling, testing, source control, and deployment
8 SQL Server installation
9 Instance and database management
10 Optimization
11 Indexes
12 Backups
13 Availability
14 Security

408 pages, Paperback

Published December 31, 2024

2 people want to read

About the author

Peter Carter

77 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
6 (100%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
1 review
January 12, 2025
This book is a great asset for the SQL server developers but it also provides the proper SQL based concepts as well. Author provides real world scenarios based examples to teach these mistakes first and their solutions with a simple language. This book is a must have for all levels of readers: beginners to advance level. I also liked the way author has precisely choose the order of the chapters. One can easily get the understandings of production level mistakes and their solutions from this book. It is a must have for Database admins, Data engineers, data analysts etc.
1 review
December 31, 2024
Great book! Just when you thought you knew a lot about optimizing SQL Server, there are other small tidbits of insight that bring on the "AHA!" moments!

Great read - highly recommended for any developers looking to up their SQL Server game!
1 review
January 7, 2025
Excellent guide to enhance your SQL Server expertise by learning from mistakes. Each chapter is well-structured, making it easy to follow for beginners while remaining comprehensive enough for professionals to refine their skills. Highly recommend to anyone serious about mastering SQL Server
2 reviews
January 3, 2025
This book shows you how to identify, understand, and avoid common misunderstandings that that lead to mistakes. It is packed with useful pieces of information, and good examples.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.