没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Stephens ffirs.tex V3 - 10/03/2008 4:09am Page i
Beginning
Database Design Solutions
Introduction ..................................................................... xxiii
Part I: Introduction to Databases and Database Design 1
Chapter 1: Goals of Effective Database Design ..........................................3
Chapter 2: Database Types
......................................................... 23
Chapter 3: Relational Database Fundamentals
........................................ 49
Part II: Database Design Process and Techniques 63
Chapter 4: Understanding User Needs ............................................... 65
Chapter 5: Translating User Needs into Data Models
.................................. 89
Chapter 6: Extracting Business Rules
............................................... 121
Chapter 7: Normalizing Data
....................................................... 137
Chapter 8: Designing Databases to Support Software Applications
..................... 173
Chapter 9: Common Design Patterns
............................................... 185
Chapter 10: Common Design Pitfalls
................................................ 207
Part III: A Detailed Case Study 225
Chapter 11: User Needs and Requirements .......................................... 227
Chapter 12: Building a Data Model
................................................. 245
Chapter 13: Extracting Business Rules
............................................. 263
Chapter 14: Normalization and Refinement
.......................................... 273
Part IV: Implementing Databases (with Examples in Access
and MySQL) 285
Chapter 15: Microsoft Access ..................................................... 287
Chapter 16: MySQL
............................................................... 313
Part V: Advanced Topics 343
Chapter 17: Introduction to SQL.................................................... 345
Chapter 18: Building Databases with SQL Scripts
.................................... 369
Chapter 19: Database Maintenance
................................................ 379
Chapter 20: Database Security
..................................................... 389
Appendix A: Exercise Solutions
.................................................... 403
Appendix B: Sample Database Designs
............................................. 467
Glossary
......................................................................... 487
Index
........................................................................... 497
Stephens ffirs.tex V3 - 10/03/2008 4:09am Page v
Beginning
Database Design Solutions
Rod Stephens
Wiley Publishing, Inc.
Stephens ffirs.tex V3 - 10/03/2008 4:09am Page vi
Beginning Database Design Solutions
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright 2009 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-38549-4
Manufactured in the United States of America
10987654321
Library of Congress Cataloging-in-Publication Data
Stephens, Rod, 1961-
Beginning database design solutions / Rod Stephens.
p. cm.
Includes index.
ISBN 978-0-470-38549-4 (978-0-470-38549-4)
1. Database design. 2. Databases. I. Title.
QA76.9.D26S97 2008
005.74 — dc22
2008037282
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any
means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections
107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or
authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood
Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be
addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317)
572-3447, fax (317) 572-4355, or online at
http://www.wiley.com/go/permissions
.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties
with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties,
including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended
by sales or promotional materials. The advice and strategies contained herein may not be suitable for every
situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting,
or other professional services. If professional assistance is required, the services of a competent professional person
should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an
organization or Web site is referred to in this work as a citation and/or a potential source of further information
does not mean that the author or the publisher endorses the information the organization or Web site may provide
or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may
have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the
United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress
are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and
other countries, and may not be used without written permission. All other trademarks are the property of their
respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be
available in electronic books.
Stephens f01.tex V3 - 10/01/2008 3:23am Page vii
About the Author
Rod Stephens started out as a mathematician but, while studying at MIT, discovered the joys of computer
algorithms and programming and he’s been programming professionally ever since. During his career,
he has worked on a wide variety of applications in such diverse fields as telephone switching, billing,
repair dispatching, tax processing, wastewater treatment, concert ticket sales, cartography, and training
for professional football players.
Rod is a Microsoft Visual Basic Most Valuable Professional (MVP), consultant and author. He has written
18 books that have been translated into half a dozen different languages, and more than 250 magazine
articles, mostly about Visual Basic. Currently he is a regular contributor of C# and Visual Basic articles at
DevX.com (
www.devx.com
).
Rod’s popular VB Helper Web site
www.vb-helper.com
receives several million hits per month and con-
tains thousands of pages of tips, tricks, and example code for Visual Basic programmers, as well as
example code for this book.
Stephens ftoc.tex V2 - 10/03/2008 4:13am Page xiii
Contents
Introduction xxiii
Part I: Introduction to Databases and Database Design
Chapter 1: Goals of Effective Database Design 3
Understanding the Importance of Design 4
Information Containers 5
Strengths and Weaknesses of Information Containers 7
Desirable Database Features 8
CRUD 9
Retrieval 9
Consistency 10
Validity 10
Easy Error Correction 11
Speed 11
Atomic Transactions 12
ACID 13
Persistence and Backups 14
Low Cost and Extensibility 16
Ease of Use 16
Portability 16
Security 17
Sharing 18
Ability to Perform Complex Calculations 19
Consequences of Good and Bad Design 19
Summary 21
Exercises 22
Chapter 2: Database Types 23
Why Bother? 24
Flat Files 24
INI Files 26
Windows System Registry 26
Relational Databases 27
剩余531页未读,继续阅读
资源评论
Weber.Yao
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功