Название: 100 SQL Server Mistakes and How to Avoid Them Автор: Peter A. Carter Издательство: Manning Publications Год: 2025 Страниц: 408 Язык: английский Формат: epub Размер: 13.9 MB
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 avoid
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.
This book consists of 14 chapters:
• Chapter 1 introduces SQL Server and the learning methods that are used in this book. It also discusses “mistake #0,” which explores the root of all other mistakes—the misconceptions that SQL Server is “just a database.”
• Chapter 2 discusses the topic of coding standards. It explores the impact of stylistic choices as well as technical issues caused by using the wrong standards. We also look at naming conventions and their impact on maintainability.
• Chapter 3 explores data types in SQL Server. In this chapter, we look at the impacts of using inappropriate data types. We also explore advanced data types and evaluate the consequences of not using them.
• Chapter 4 looks at database design. With a strong focus on normalization, we learn why a good database design is so important. We also examine the use of keys and the consequences of making poor choices in this area.
• Chapter 5 gets down to the nitty-gritty of T-SQL. We explore a range of mistakes that can cause unpredictable results and poor performance. We also dive into loops in T-SQL and explore alternatives. ... • Chapter 14 is a deep dive into security mistakes. We explore a range of issues, from service account granularity to xp_cmdshell. We also explore some common forms of attack, such as whole-value substitution attacks and SQL injection attacks, and we discuss how to protect against them.
Who should read this book? This book is meant for accidental DBAs, junior SQL Server professionals, application developers who need to work with SQL Server, and even senior SQL Server professionals who do not have experience with recent versions of the product.
Скачать 100 SQL Server Mistakes and How to Avoid Them (Final)
|