Training
Certifications
Books
Special Offers
Community




 
MCSE Training Kit (Exam 70-229): Microsoft® SQL Server™ 2000 Database Design and Implementation
Author Microsoft Corporation
Pages 688
Disk 1 Companion CD(s)
Level All Levels
Published 04/25/2001
ISBN 9780735612488
ISBN-10 0-7356-1248-X
Price(USD) $59.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Index
Related Series
Related Books
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 

Table of Contents


    About This Bookxiii
        Intended Audiencexiii
        Prerequisitesxiv
        Reference Materialsxiv
        About the CD-ROMxiv
        Features of this Bookxv
        The Microsoft Certified Professional Programxxii
        Technical Supportxxvii
CHAPTER 1  Introduction to Microsoft SQL Server 20001
        About This Chapter1
        Before You Begin1
    Lesson 1: Overview of SQL Server 20002
        What Is SQL Server 2000?2
        SQL Server 2000 Features4
        Editions of SQL Server 20007
        Lesson Summary8
    Lesson 2: Components of SQL Server 20009
        Overview of the SQL Server 2000 Components9
        SQL Server 2000 Relational Database Engine9
        SQL Server 2000 Replication10
        SQL Server 2000 DTS11
        SQL Server 2000 Analysis Services12
        SQL Server 2000 English Query12
        SQL Server Meta Data Services13
        SQL Server Books Online14
        SQL Server 2000 Tools14
        Lesson Summary19
    Lesson 3: Overview of SQL Server 2000 Architecture20
        Database Architecture20
        Relational Database Engine Architecture28
        Administration Architecture33
        Data Warehousing and Online Analytical Processing (OLAP)38
        Application Development Architecture39
        Lesson Summary41
    Review42
CHAPTER 2  Using Transact-SQL on a SQL Server Database45
        About This Chapter45
        Before You Begin45
    Lesson 1: SQL Server Programming Tools46
        SQL Query Analyzer46
        isqlw Command-Prompt Utility59
        isql Command Prompt Utility60
        osql Command-Prompt Utility60
        Lesson Summary65
    Lesson 2: Introduction to Transact-SQL66
        Overview of Transact-SQL66
        Transact-SQL Statements66
        Lesson Summary75
    Lesson 3: Transact-SQL Syntax Elements77
        Identifiers77
        Variables78
        Functions79
        Data Types82
        Expressions82
        Control-of-Flow Language Elements83
        Comments84
        Lesson Summary88
    Lesson 4: Executing Transact-SQL Statements89
        Single Transact-SQL Statements89
        Batches91
        Stored Procedures and Triggers93
        Transact-SQL Scripts94
        Lesson Summary95
    Review96
CHAPTER 3  Designing a SQL Server Database99
        About This Chapter99
        Before You Begin99
    Lesson 1: Introduction to Database Design100
        Components of a SQL Server Database100
        Normalizing a Database Design101
        Entity Relationships105
        Lesson Summary111
    Lesson 2: Planning a SQL Server Database112
        Files and Filegroups112
        Transaction Logs114
        Environment115
        SQL Server Installation116
        Security117
        Lesson Summary118
    Lesson 3: Identifying System Requirements119
        The Process of Identifying System Requirements119
        Identifying System Goals120
        Identifying the Amount and Types of Data122
        Identifying How the Data Will Be Used123
        Identifying Business Rules of the System123
        Lesson Summary127
    Lesson 4: Developing a Logical Data Model129
        Identifying Entities and Their Attributes129
        Identifying Relationships Between Entities131
        Identifying Constraints on Data132
        Lesson Summary139
    Review141
CHAPTER 4  Implementing SQL Server Databases and Tables143
    About This Chapter143
        Before You Begin143
    Lesson 1: Creating and Managing a SQL Server Database144
        Creating a SQL Server Database144
        Managing a SQL Server Database146
        Exercise 1:  Creating and Managing a Database150
        Lesson Summary154
    Lesson 2: Identifying Data Types155
        System-Supplied Data Types155
        User-Defined Data Types160
        Exercise 2:  Identifying Column Data Types160
        Lesson Summary162
    Lesson 3: Creating and Managing Tables163
        Creating Tables in a SQL Server Database163
        Managing Tables in a SQL Server Database170
        Exercise 3: Creating and Managing Tables in a SQL Server Database172
        Lesson Summary175
    Review176
CHAPTER 5  Implementing Data Integrity179
        About This Chapter179
        Before You Begin179
    Lesson 1: Introduction to Data Integrity180
        Enforcing Data Integrity180
        Types of Data Integrity182
        Exercise 1: Identifying the Properties Used to Ensure Data Integrity184
        Lesson Summary185
    Lesson 2: Implementing Integrity Constraints187
        Introduction to Integrity Constraints187
        PRIMARY KEY Constraints188
        UNIQUE Constraints190
        FOREIGN KEY Constraints191
        CHECK Constraints194
        Exercise 2:  Adding Constraints to Existing Tables196
        Lesson Summary201
    Review202
CHAPTER 6  Accessing and Modifying Data205
        About This Chapter205
        Before You Begin205
    Lesson 1: Accessing Data in a SQL Server Database206
        The Fundamentals of a SELECT Statement206
        The SELECT Clause207
        The INTO Clause209
        The FROM Clause209
        The WHERE, GROUP BY, and HAVING Clauses209
        The ORDER BY Clause211
        Exercise 1: Using SELECT Statements to Access Data211
        Lesson Summary214
    Lesson 2: Using Advanced Query Techniques to Access Data215
        Using Joins to Retrieve Data215
        Defining Subqueries inside SELECT Statements218
        Summarizing Data221
        Exercise 2: Using Advanced Query Techniques to Retrieve Data223
        Lesson Summary228
    Lesson 3: Modifying Data in a SQL Server Database229
        Inserting Data into a SQL Server Database229
        Modifying Data in a SQL Server Database232
        Deleting Data from a SQL Server Database235
        Exercise 3: Modifying Data in a SQL Server Database236
        Lesson Summary239
    Review240
CHAPTER 7  Managing and Manipulating Data243
    About This Chapter243
    Before You Begin243
    Lesson 1: Importing and Exporting Data244
        Using the bcp Utility and the BULK INSERT Statement244
        Using DTS248
        Exercise 1: Importing and Exporting Data251
        Lesson Summary254
    Lesson 2: Using Distributed Queries to Access External Data256
        Introduction to Distributed Queries256
        Using Linked Server Names in Distributed Queries257
        Using Ad Hoc Computer Names in Distributed Queries259
        Exercise 2:  Using Distributed Queries to Access External Data260
        Lesson Summary262
    Lesson 3: Using Cursors to Retrieve Data263
        Introduction to Cursors263
        Fetching and Scrolling268
        Controlling Cursor Behavior268
        Cursor Locking269
        Exercise 3:  Creating a Cursor to Retrieve Data269
        Lesson Summary271
    Lesson 4: Retrieving XML Data272
        Introduction to XML272
        Using the FOR XML Clause to Retrieve Data273
        Using the OPENXML Function to Access XML Data275
        Exercise 4:  Retrieving XML Data279
        Lesson Summary280
    Review281
CHAPTER 8  Implementing Stored Procedures283
    About This Chapter283
    Before You Begin283
    Lesson 1: Introduction to Stored Procedures284
        Purpose and Advantages of Stored Procedures284
        Categories of Stored Procedures286
        Lesson Summary291
    Lesson 2: Creating, Executing, Modifying, and Deleting Stored Procedures292
        How a Procedure Is Stored292
        Methods for Creating Stored Procedures293
        Executing a Stored Procedure299
        Modifying Stored Procedures302
        Deleting Stored Procedures303
        Lesson Summary309
    Lesson 3: Programming Stored Procedures310
        Parameters and Variables310
        The RETURN Statement and Error Handling312
        Nesting Procedures318
        Cursors318
        Lesson Summary326
    Review327
CHAPTER 9  Implementing Triggers329
    About This Chapter329
    Before You Begin330
    Lesson 1: Introduction to Triggers331
        Extending Data Integrity with Triggers331
        Trigger Events333
        Lesson Summary337
    Lesson 2: Creating and Managing Triggers339
        Creating Triggers Using Transact-SQL339
        Creating a Trigger Using Enterprise Manager342
        Trigger Management342
        Viewing, Dropping, and Disabling Triggers344
        Lesson Summary349
    Lesson 3: Programming Triggers350
        The Inserted and Deleted Pseudo Tables350
        Trigger Syntax, System Commands, and Functions351
        Common Trigger Programming Tasks353
        Lesson Summary359
    Review361
CHAPTER 10  Implementing Views363
    About This Chapter363
    Before You Begin363
    Lesson 1: Introduction to Views364
        Overview of Views364
        Scenarios for Using Views365
        Lesson Summary367
    Lesson 2: Creating, Modifying, and Deleting Views368
        Creating Views368
        Modifying Views375
        Deleting Views376
        Exercise 1: Creating and Modifying a View376
        Lesson Summary378
    Lesson 3: Accessing Data through Views379
        Viewing Data through Views379
        Modifying Data through Views379
        Exercise 2: Using the AuthorsBooks View to Access Data384
        Lesson Summary387
    Review388
CHAPTER 11  Implementing Indexes391
    About This Chapter391
    Before You Begin391
    Lesson 1: Index Architecture392
        Purpose and Structure392
        Index Types393
        Index Characteristics395
        Index Information397
        Full-Text Indexing399
        Lesson Summary402
    Lesson 2: Index Creation and Administration403
        Index Creation403
        Index Administration408
        Choosing to Index410
        Index Performance412
        Lesson Summary417
    Review418
CHAPTER 12  Managing SQL Server Transactions and Locks421
    About This Chapter421
    Before You Begin421
    Lesson 1: Transaction and Locking Architecture422
        Transaction Log Architecture422
        Concurrency Architecture427
        Locking Architecture427
        Distributed Transaction Architecture429
        Exercise 1: Accessing and Modifying the Transaction Log429
        Lesson Summary431
    Lesson 2: Managing SQL Server Transactions432
        Overview of SQL Server Transactions432
        Types of Transactions435
        Distributed Transactions440
        Exercise 2: Implementing Explicit Transactions442
        Lesson Summary445
    Lesson 3: Managing SQL Server Locking446
        Types of Concurrency Problems446
        Optimistic and Pessimistic Concurrency448
        Isolation Levels448
        Customizing Locking449
        Exercise 3: Configuring Transaction Properties456
        Lesson Summary457
    Review459
CHAPTER 13  Designing and Administering SQL Server 2000 Security461
    About This Chapter461
    Before You Begin461
    Lesson 1: Overview of SQL Server 2000 Security462
        Physical Security462
        Network Protocol Security462
        Domain Security464
        Local Computer Security465
        SQL Server Security465
        Application471
        Lesson Summary472
    Lesson 2: Designing a Database Security Plan473
        Requirements473
        Nesting and Ownership Chains475
        Security Design Recommendations476
        Lesson Summary477
    Lesson 3: Database Security Implementation and Administration479
        Administering Authentication479
        Administering Authorization481
        Administering Permissions483
        Administering Roles487
        Lesson Summary494
    Review496
CHAPTER 14  SQL Server Monitoring and Tuning499
    About This Chapter499
    Before You Begin499
    Lesson 1: Monitoring Databases with SQL Profiler500
        SQL Server Monitoring500
        SQL Profiler501
        Lesson Summary510
    Lesson 2: Index Tuning and Database Partitioning511
        SQL Server Tuning511
        Index Tuning Wizard Overview511
        Partitioning Overview514
        Lesson Summary518
    Review519
APPENDIX A  Questions and Answers521
GLOSSARY575
INDEX623




Top of Page


Last Updated: Saturday, July 7, 2001