A Developer's Guide to Data Modeling for SQL Server Covering SQL Server 2005 and 2008
, by Johnson, Eric; Jones, JoshuaNote: Supplemental materials are not guaranteed with Rental or Used book purchases.
- ISBN: 9780321497642 | 0321497643
- Cover: Paperback
- Copyright: 6/24/2008
This book teaches Database developers how to build better databases by applying logical data modelling techniques to Microsoft SQL Server.
Eric Johnson (Microsoft SQL MVP)is the co-founder of Consortio Services and the primary database technologies consultant. His background in information technology is diverse, ranging from operating systems and hardware to specialized applications and development. He has even done his fair share of work on networks. Because IT is a way to support business processes, Eric has also acquired an MBA. All in all, he has ten years of experience with IT, much of it working with Microsoft SQL Server. Eric has managed and designed databases of all shapes and sizes. He has delivered numerous SQL Server training classes and Webcasts as well as presentations at national technology conferences. Most recently, he presented at TechMentor on SQL Server 2005 replication, reporting services, and integration services. In addition, he is active in the local SQL Server community, serving as the president of the Colorado Springs SQL Server Users Group. He is also the co-host of CS Techcast, a weekly podcast for IT professionals at www.cstechcast.com. You can find Eric’s blog at www.consortioservices.com/blog.
Joshua Jones (MCTS, SQL Server 2005; MCITP, Database Administrator) is operating systems and database systems consultant with Consortio Services in Colorado Springs. There he provides training, administration, analysis, and design support for customers using SQL Server 2000 and 2005. In his seven years as an IT professional, he has worked in many areas of information technology, including Windows desktop support, Windows 2000 and 2003 server infrastructure design and support (AD, DNS, MS Exchange), telephony switch support, and network support. Josh has spoken at various PASS sponsored events about SQL Server topics such as 64-bit SQL Server implementation, reporting services administration, and performance tuning. He is also a co-host of CS Techcast, a weekly podcast for IT professionals at www.cstechcast.com.
Joshua Jones (MCTS, SQL Server 2005; MCITP, Database Administrator) is operating systems and database systems consultant with Consortio Services in Colorado Springs. There he provides training, administration, analysis, and design support for customers using SQL Server 2000 and 2005. In his seven years as an IT professional, he has worked in many areas of information technology, including Windows desktop support, Windows 2000 and 2003 server infrastructure design and support (AD, DNS, MS Exchange), telephony switch support, and network support. Josh has spoken at various PASS sponsored events about SQL Server topics such as 64-bit SQL Server implementation, reporting services administration, and performance tuning. He is also a co-host of CS Techcast, a weekly podcast for IT professionals at www.cstechcast.com.
Preface | p. xv |
Acknowledgments | p. xvii |
About the Authors | p. xix |
Data Modeling Theory | p. 1 |
Data Modeling Overview | p. 3 |
Databases | p. 4 |
Why a Sound Data Model Is Important | p. 6 |
Data Consistency | p. 6 |
The Process of Data Modeling | p. 14 |
Summary | p. 21 |
Elements Used in Logical Data Models | p. 23 |
Entities | p. 23 |
Attributes | p. 24 |
Referential Integrity | p. 32 |
Relationships | p. 35 |
Relationship Types | p. 35 |
Relationship Options | p. 40 |
Cardinality | p. 41 |
Using Subtypes and Supertypes | p. 42 |
Supertypes and Subtypes Defined | p. 42 |
When to Use Subtype Clusters | p. 44 |
Summary | p. 44 |
Physical Elements of Data Models | p. 45 |
Physical Storage | p. 45 |
Referential Integrity | p. 59 |
Programming | p. 71 |
Implementing Supertypes and Subtypes | p. 75 |
Summary | p. 79 |
Business Requirements | p. 95 |
Requirements Gathering | p. 97 |
Requirements Gathering Overview | p. 98 |
Gathering Requirements Step by Step | p. 98 |
Business Needs | p. 111 |
Balancing Technical Limitations with Business Needs | p. 112 |
Gathering Usage Data | p. 112 |
Summary | p. 116 |
Interpreting Requirements | p. 117 |
Mountain View Music | p. 117 |
Compiling Requirements Data | p. 119 |
Determining Model Requirements | p. 121 |
Determining the Business Rules | p. 138 |
Requirements Documentation | p. 141 |
Looking Ahead: The Business Review | p. 143 |
Summary | p. 145 |
Creating the Logical Model | p. 147 |
Creating the Logical Model | p. 149 |
Diagramming a Data Model | p. 149 |
Using Requirements to Build the Model | p. 157 |
Building the Model | p. 164 |
Summary | p. 170 |
Common Data Modeling Problems | p. 171 |
Entity Problems | p. 171 |
Attribute Problems | p. 176 |
Relationship Problems | p. 182 |
Summary | p. 185 |
Creating the Physical Model | p. 187 |
Creating the Physical Model with SQL Server | p. 189 |
Naming Guidelines | p. 189 |
Deriving the Physical Model | p. 198 |
Implementing Business Rules in the Physical Model | p. 211 |
Summary | p. 219 |
Indexing Considerations | p. 221 |
Indexing Overview | p. 221 |
Database Usage Requirements | p. 230 |
Determining the Appropriate Indexes | p. 233 |
Implementing Indexes in SQL Server | p. 236 |
Summary | p. 239 |
Creating an Abstraction Layer in SQL Server | p. 241 |
What Is an Abstraction Layer? | p. 241 |
Why Use an Abstraction Layer? | p. 242 |
An Abstraction Layer's Relationship to the Logical Model | p. 245 |
An Abstraction Layer's Relationship to Object-Oriented Programming | p. 246 |
Implementing an Abstraction Layer | p. 247 |
Summary | p. 254 |
Sample Logical Model | p. 255 |
Sample Physical Model | p. 261 |
SQL Server 2008 Reserved Words | p. 267 |
Recommended Naming Standards | p. 269 |
Index | p. 271 |
Table of Contents provided by Publisher. All Rights Reserved. |
What is included with this book?
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.