商品描述
Even if you have little or no knowledge of T-SQL, Beginning T-SQL 2008 will bring you up to intermediate level and teach you best practices along the way. You'll learn how to write code that will help you to achieve the best-performing applications possible.
You'll find an introduction to databases, normalization, and SQL Server Management Studio. You'll understand how data is stored in a database and learn how to use at least one of the available tools to get to that data.
Each subsequent chapter teaches an aspect of T-SQL, building on the skills learned in previous chapters. Exercises are included in each chapter because the only way to learn T-SQL is to write some code.
This book will do more than just give the syntax and examples. It will teach you techniques to help you avoid common errors and create robust and well-performing code.
- Imparts best practices for writing T-SQL
- Helps readers avoid common errors
- Shows how to write scalable code that yields good performance
What you'll learn
- Understand the fundamentals of relational theory, upon which Transact-SQL is based
- Write accurate queries that are scalable and perform well
- Combine set-based and procedural processing, obtaining the best from both worlds
- Embed business logic in your database through stored procedures and functions
- Simplify your work through new and advanced features such as common-table expressions and virtual tables
- Enhance performance by knowing when to apply features such table value parameters
Who is this book for?
This book is for developers who will be writing database applications against SQL Server databases.
About the Apress Beginning Series
The Beginning series from Apress is the right choice to get the information you need to land that crucial entry–level job. These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You’ll start your journey by seeing what you need to know—but without needless theory and filler. You’ll build your skill set by learning how to put together real–world projects step by step. So whether your goal is your next career challenge or a new learning opportunity, the Beginning series from Apress will take you there—it is your trusted guide through unfamiliar territory!
商品描述(中文翻譯)
即使您對 T-SQL 知之甚少或完全沒有了解,Beginning T-SQL 2008 將使您達到中級水平,並在過程中教您最佳實踐。您將學會如何編寫代碼,以幫助您實現最佳性能的應用程序。
您將找到有關資料庫、正規化和 SQL Server Management Studio 的介紹。您將了解數據是如何存儲在資料庫中的,並學會如何使用至少一種可用工具來訪問這些數據。
每一章都教授 T-SQL 的一個方面,並在前一章所學的技能基礎上進行擴展。每章都包含練習,因為學習 T-SQL 的唯一方法就是編寫一些代碼。
這本書不僅僅是提供語法和範例。它將教您技術,幫助您避免常見錯誤,並創建穩健且性能良好的代碼。
- 傳授編寫 T-SQL 的最佳實踐
- 幫助讀者避免常見錯誤
- 展示如何編寫可擴展且性能良好的代碼
您將學到什麼
- 理解關聯理論的基本原則,Transact-SQL 就是基於這些原則
- 編寫準確的查詢,這些查詢可擴展且性能良好
- 結合基於集合和過程處理,從兩者中獲得最佳效果
- 通過存儲過程和函數在資料庫中嵌入業務邏輯
- 通過公共表達式和虛擬表等新功能簡化您的工作
- 通過了解何時應用表值參數等功能來提升性能
這本書適合誰?
這本書適合將針對 SQL Server 資料庫編寫資料庫應用程序的開發人員。
關於 Apress 的入門系列
Apress 的入門系列是獲取您所需信息以獲得關鍵入門級工作的正確選擇。這些書籍將從基礎開始教您一項標準且重要的技術,因為它們明確設計為將您從「新手變為專業人士」。您將通過了解您需要知道的內容開始您的旅程——但不會有多餘的理論和填充內容。您將通過逐步學習如何組建現實世界的項目來建立您的技能組。因此,無論您的目標是下一個職業挑戰還是新的學習機會,Apress 的入門系列都將帶您到達那裡——它是您在陌生領域中的可信指南!