Training
Certifications
Books
Special Offers
Community




 
MCAD/MCSE/MCDBA Self-Paced Training Kit: Microsoft® SQL Server™ 2000 Database Design and Implementation, Exam 70-229, Second Edition
Author Microsoft Corporation
Pages 880
Disk 1 Companion CD(s); 1 Evaluation CD(s)
Level Int/Adv
Published 05/07/2003
ISBN 9780735619609
Price $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 Bookxxv
PART 1  SELF-PACED TRAINING FOR MICROSOFT SQL SERVER 2000 DATABASE DESIGN AND IMPLEMENTATION 
CHAPTER 1  Introduction to Microsoft SQL Server 20003
    About this Chapter3
    Before You Begin3
    Lesson 1: Overview of SQL Server 20004
        What Is SQL Server 2000?4
        Databases5
        Relational Databases5
        SQL5
        XML6
        SQL Server 2000 Features6
        Ease of Installation, Deployment, and Use6
        Scalability7
        Data Warehousing7
        System Integration8
        Editions of SQL Server 20009
        Lesson Summary10
    Lesson 2: Components of SQL Server 200011
        Overview of the SQL Server 2000 Components11
        SQL Server 2000 Relational Database Engine11
        SQL Server 2000 Replication13
        SQL Server 2000 DTS13
        SQL Server 2000 Analysis Services14
        SQL Server 2000 English Query14
        SQL Server Meta Data Services15
        SQL Server Books Online16
        SQL Server 2000 Tools16
        Command Prompt Tools17
        User Interface Tools18
        SQL Server Enterprise Manager18
        SQL Server Agent19
        SQL Profiler19
        SQL Server Client Network Utility19
        SQL Server Network Utility19
        SQL Server Service Manager20
        SQL Query Analyzer20
        SQL Server 2000 Built-In Wizards21
        Lesson Summary21
    Lesson 3: Overview of SQL Server 2000 Architecture22
        Database Architecture22
        Logical Database Components24
        Database Objects24
        Collations25
        Logins, Users, Roles, and Groups26
        Physical Database Architecture27
        Pages and Extents27
        Database Files and Filegroups28
        Space Allocation and Reuse28
        Table and Index Architecture29
        Transaction Log Architecture30
        Relational Database Engine Architecture30
        Tabular Data Stream31
        Server Net-Libraries31
        Relational Database Engine31
        Query Processor Architecture32
        Memory Architecture32
        Input/Output (I/O) Architecture33
        Full-Text Query Architecture33
        Transactions Architecture34
        Administration Architecture35
        Data Definition Language, Data Manipulation Language, and Stored Procedures36
        SQL Distributed Management Framework36
        Graphical Tools37
        Automated Administration Architecture37
        Backup/Restore Architecture38
        Data Import/Export Architecture38
        DTS38
        Replication38
        Bulk Copying38
        Distributed Queries39
        Data Integrity Validation39
        Replication Architecture40
        Data Warehousing and Online Analytical Processing (OLAP)40
        OLTP Systems40
        OLAP Systems41
        Application Development Architecture41
        API or URL42
        APIs Supported by SQL Server42
        Database Language42
        Transact-SQL42
        XPath43
        Lesson Summary43
    Review44
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
        Query Window47
        Editor Pane48
        Color Coding in Query Analyzer48
        Executing Transact-SQL Statements49
        Results Pane49
        Grids Tab49
        Results Tab50
        Execution Plan Tab51
        Trace Tab52
        Statistics Tab53
        Messages Tab54
        Estimated Execution Plan Tab54
        Object Browser Window55
        Transact-SQL Debugger Window55
        Open Table Window57
        Object Search Window57
        isqlw Command-Prompt Utility58
        isql Command Prompt Utility58
        osql Command-Prompt Utility59
        Exercise 1: Navigating SQL Query Analyzer and Running a Query59
        Lesson Summary64
    Lesson 2: Introduction to Transact-SQL65
        Overview of Transact-SQL65
        Transact-SQL Statements65
        Data Definition Language65
        CREATE TABLE66
        ALTER TABLE66
        DROP TABLE66
        Data Control Language67
        GRANT 67
        REVOKE 67
        DENY 67
        Data Manipulation Language67
        SELECT 68
        INSERT 68
        UPDATE 68
        DELETE 68
        Exercise 2: Creating and Executing DDL, DCL, and DML Statements69
        Lesson Summary74
    Lesson 3: Transact-SQL Syntax Elements75
        Identifiers75
        Classes of Identifiers75
        Regular Identifiers76
        Delimited Identifiers76
        Variables76
        Functions77
        Built-In Functions77
        Rowset Functions77
        Aggregate Functions78
        Scalar Functions78
        User-Defined Functions79
        Types of User-Defined Functions79
        Function Determinism80
        Data Types80
        Expressions80
        Using Operators in Expressions80
        Control-of-Flow Language Elements81
        Comments82
        Exercise 3: Using Transact-SQL Syntax Elements to Create a Script83
        Lesson Summary86
    Lesson 4: Executing Transact-SQL Statements87
        Single Transact-SQL Statements87
        Processing a SELECT Statement88
        Processing Other Statements88
        Batches88
        The GO Command89
        Batch Processing90
        Stored Procedures and Triggers91
        Stored Procedure and Trigger Execution92
        Transact-SQL Scripts92
        Lesson Summary93
    Review94
CHAPTER 3  Designing a SQL Server Database95
        About This Chapter95
        Before You Begin95
    Lesson 1: Introduction to Database Design96
        Components of a SQL Server Database96
        Normalizing a Database Design97
        Achieving a Well-Designed Database98
        A Table Should Have an Identifier98
        A Table Should Store Data for Only a Single Type of Entity99
        A Table Should Avoid Nullable Columns100
        A Table Should Not Have Repeating Values or Columns101
        Entity Relationships102
        One-to-One Relationships102
        One-to-Many Relationships103
        Many-to-Many Relationships103
        Exercise 1: Exploring the Basic Concepts of Database Design103
        Lesson Summary107
    Lesson 2: Planning a SQL Server Database108
        Files and Filegroups108
        Rules for Designing Files and Filegroups109
        Default Filegroups109
        Recommendations110
        Transaction Logs110
        Environment111
        Estimating the Size of a Database111
        Physical Database Design112
        SQL Server Installation112
        Security113
        Planning Security113
        Security Levels113
        Authentication Modes113
        Lesson Summary114
    Lesson 3: Identifying System Requirements115
        The Process of Identifying System Requirements115
        Identifying System Goals116
        Identifying the Amount and Types of Data117
        Identifying How the Data Will Be Used118
        Identifying Business Rules of the System119
        Exercise 2: Identifying the System Requirements for Your Database Design120
        Book Shop Scenario120
        Lesson Summary123
    Lesson 4: Developing a Logical Data Model124
        Identifying Entities and Their Attributes124
        Identifying Relationships Between Entities126
        Identifying Constraints on Data127
        Exercise 3: Developing a Logical Data Model128
        Lesson Summary135
    Review136
CHAPTER 4  Implementing SQL Server Databases and Tables137
        About This Chapter137
        Before You Begin137
    Lesson 1: Creating and Managing a SQL Server Database138
        Creating a SQL Server Database138
        Methods for Creating a SQL Server Database139
        CREATE DATABASE Statement 139
        Enterprise Manager140
        Create Database Wizard140
        Managing a SQL Server Database141
        Viewing Information about a Database141
        Modifying a Database141
        Setting Database Options142
        Deleting a SQL Server Database143
        Exercise 1: Creating and Managing a Database143
        Lesson Summary147
    Lesson 2: Identifying Data Types148
        System-Supplied Data Types148
        User-Defined Data Types152
        Exercise 2: Identifying Column Data Types152
        Lesson Summary154
    Lesson 3: Creating and Managing Tables155
        Creating Tables in a SQL Server Database155
        Determining Column Nullability155
        Defining Default Values157
        Autonumbering and Identifier Columns158
        Creating Identifier Columns159
        IDENTITY Property159
        Globally Unique Identifiers160
        Methods for Creating a Table160
        CREATE TABLE Statement 161
        Enterprise Manager161
        Database Designer161
        Managing Tables in a SQL Server Database162
        Viewing Information about Tables162
        Modifying Tables in a SQL Server Database162
        Deleting Tables from a SQL Server Database163
        Exercise 3: Creating and Managing Tables in a SQL Server Database164
        Lesson Summary166
    Review168
CHAPTER 5  Implementing Data Integrity169
        About This Chapter169
        Before You Begin169
    Lesson 1: Introduction to Data Integrity170
        Enforcing Data Integrity170
        Data Types170
        NOT NULL Definitions171
        DEFAULT Definitions171
        IDENTITY Properties171
        Constraints171
        Rules172
        Triggers172
        Indexes172
        Types of Data Integrity172
        Entity Integrity173
        Domain Integrity173
        Referential Integrity173
        User-Defined Integrity174
        Exercise 1: Identifying the Properties Used to Ensure Data Integrity174
        Lesson Summary175
    Lesson 2: Implementing Integrity Constraints176
        Introduction to Integrity Constraints176
        PRIMARY KEY Constraints177
        Creating PRIMARY KEY Constraints177
        UNIQUE Constraints179
        Creating UNIQUE Constraints179
        FOREIGN KEY Constraints180
        Creating FOREIGN KEY Constraints181
        Disabling FOREIGN KEY Constraints182
        CHECK Constraints183
        Creating CHECK Constraints183
        Disabling CHECK Constraints184
        Exercise 2: Adding Constraints to Existing Tables185
        Lesson Summary190
    Review191
CHAPTER 6  Accessing and Modifying Data193
    About This Chapter193
    Before You Begin193
    Lesson 1: Accessing Data in a SQL Server Database194
        The Fundamentals of a SELECT Statement194
        The SELECT Clause195
        Using Keywords in the Select List195
        The DISTINCT Keyword195
        The TOP n Keyword195
        The AS Keyword196
        Types of Information in the Select List196
        The INTO Clause197
        The FROM Clause197
        The WHERE, GROUP BY, and HAVING Clauses197
        The GROUP BY Clause198
        Processing the WHERE, GROUP BY, and HAVING Clauses199
        The ORDER BY Clause199
        Exercise 1: Using SELECT Statements to Access Data199
        Lesson Summary202
    Lesson 2: Using Advanced Query Techniques to Access Data203
        Using Joins to Retrieve Data203
        Inner Joins204
        Outer Joins205
        Using Left Outer Joins205
        Using Right Outer Joins205
        Using Full Outer Joins206
        Defining Subqueries inside SELECT Statements206
        Types of Subqueries207
        Subqueries that Are Used with IN or NOT IN207
        Subqueries that Are Used with Comparison Operators208
        Subqueries that Are Used with EXISTS and NOT EXISTS208
        Summarizing Data209
        Using the CUBE Operator to Summarize Data209
        Using the ROLLUP Operator to Summarize Data210
        Exercise 2: Using Advanced Query Techniques to Retrieve Data210
        Lesson Summary215
    Lesson 3: Modifying Data in a SQL Server Database216
        Inserting Data into a SQL Server Database216
        Using the INSERT Statement to Add Data216
        Using an INSERT.VALUES Statement to Add Data217
        Using a SELECT Subquery to Add Data218
        Using a SELECT.INTO Statement to Add Data218
        Adding ntext, text, or image Data to Inserted Rows218
        Using Bulk Copy Operations to Add Data219
        Modifying Data in a SQL Server Database219
        Using an UPDATE Statement to Modify Data219
        Using a SET Clause to Modify Data220
        Using a WHERE Clause to Modify Data220
        Using a FROM Clause to Modify Data220
        Using APIs and Cursors to Modify Data221
        Modifying ntext, text, or image Data221
        Deleting Data from a SQL Server Database221
        Using a DELETE Statement to Delete Data222
        Using APIs and Cursors to Delete Data222
        Using the TRUNCATE TABLE Statement to Delete Data222
        Exercise 3: Modifying Data in a SQL Server Database223
        Lesson Summary226
    Review227
CHAPTER 7  Managing and Manipulating Data229
        About This Chapter229
        Before You Begin229
    Lesson 1: Importing and Exporting Data230
        Using the bcp Utility and the BULK INSERT Statement230
        Using Data Formats232
        Using DTS234
        DTS Tools234
        DTS Packages234
        DTS Tasks235
        DTS Transformations235
        DTS Connections236
        DTS Package Workflow237
        Exercise 1: Importing and Exporting Data237
        Lesson Summary240
    Lesson 2: Using Distributed Queries to Access External Data241
        Introduction to Distributed Queries241
        Using Linked Server Names in Distributed Queries242
        Linked Servers242
        Four-Part Names243
        The OPENQUERY Function243
        Using Ad Hoc Computer Names in Distributed Queries244
        The OPENROWSET Function244
        The OPENDATASOURCE Function245
        Exercise 2: Using Distributed Queries to Access External Data245
        Lesson Summary247
    Lesson 3: Using Cursors to Retrieve Data248
        Introduction to Cursors248
        Transact-SQL Server Cursors249
        Referencing Transact-SQL Cursors250
        API Server Cursors251
        API Server Cursor Restrictions252
        Client Cursors252
        Fetching and Scrolling252
        Controlling Cursor Behavior253
        Cursor Locking254
    Exercise 3: Creating a Cursor to Retrieve Data254
        Lesson Summary256
    Lesson 4: Retrieving XML Data257
        Introduction to XML257
        Using the FOR XML Clause to Retrieve Data258
        RAW, AUTO, EXPLICIT259
        RAW Mode259
        AUTO Mode259
        EXPLICIT Mode260
        XMLDATA260
        ELEMENTS260
        BINARY Base64260
        Using the OPENXML Function to Access XML Data260
        XML Document Handle (idoc)262
        Xpath Expression (rowpattern)262
        Mapping (flags)262
        SchemaDeclaration263
        TableName263
        Exercise 4: Retrieving XML Data263
        Lesson Summary265
    Review266
CHAPTER 8  Implementing Stored Procedures267
        About This Chapter267
        Before You Begin267
    Lesson 1: Introduction to Stored Procedures268
        Purpose and Advantages of Stored Procedures268
        Performance268
        Programming Framework269
        Security270
        Categories of Stored Procedures270
        System Stored Procedures270
        Local Stored Procedures271
        Temporary Stored Procedures271
        Extended Stored Procedures272
        Remote Stored Procedures273
        Exercise 1: Exploring Stored Procedures273
        Lesson Summary275
    Lesson 2: Creating, Executing, Modifying, and Deleting Stored Procedures276
        How a Procedure Is Stored276
        Methods for Creating Stored Procedures277
        The CREATE PROCEDURE Statement278
        Providing a Stored Procedure with Context278
        Creating Temporary Stored Procedures279
        Grouping, Caching, and Encrypting Stored Procedures280
        Enterprise Manager281
        Create Stored Procedure Wizard282
        Creating and Adding Extended Stored Procedures282
        Deferred Name Resolution283
        Executing a Stored Procedure283
        Calling a Stored Procedure for Execution283
        Specifying Parameters and Their Values284
        Executing Stored Procedures when SQL Server Starts285
        Modifying Stored Procedures286
        Deleting Stored Procedures287
        Exercise 2: Working with Stored Procedures287
        Lesson Summary292
    Lesson 3: Programming Stored Procedures293
        Parameters and Variables293
        The RETURN Statement and Error Handling295
        Default Values and Setting a Parameter to NULL297
        Testing for Server Errors298
        Nesting Procedures300
        Cursors300
        Data Retrieval Methods301
        Exercise 3: Programming Stored Procedures to Insert and Retrieve Data302
        Lesson Summary307
    Review309
CHAPTER 9  Implementing Triggers311
    About This Chapter311
    Before You Begin312
    Lesson 1: Introduction to Triggers313
        Extending Data Integrity with Triggers313
        Procedural Data Integrity313
        Trigger Features and Limitations314
        Trigger Events315
        Trigger Execution315
        Exercise 1: Applying Cascading Referential Integrity Constraints316
        Lesson Summary319
    Lesson 2: Creating and Managing Triggers320
        Creating Triggers Using Transact-SQL320
        The CREATE TRIGGER Clause321
        The ON Clause321
        The FOR, AFTER, and INSTEAD OF Clauses321
        The AS Clause322
        Creating a Trigger Using Enterprise Manager322
        Trigger Management323
        Altering and Renaming Triggers323
        Viewing, Dropping, and Disabling Triggers325
        Exercise 2: Creating and Managing Triggers326
        Lesson Summary329
    Lesson 3: Programming Triggers330
        The Inserted and Deleted Pseudo Tables330
        Trigger Syntax, System Commands, and Functions331
        UPDATE (column_name) and (COLUMNS_UPDATED()) Clauses331
        Functions and System Commands332
        Transact-SQL Language Precautions333
        Common Trigger Programming Tasks333
        Exercise 3: Creating a Trigger to Update a Column Value335
        Lesson Summary338
    Review339
CHAPTER 10  Implementing Views341
        About This Chapter341
        Before You Begin341
    Lesson 1: Introduction to Views342
        Overview of Views342
        Scenarios for Using Views343
        To Focus on Specific Data344
        To Simplify Data Manipulation344
        To Customize Data344
        To Export and Import Data344
        To Combine Partitioned Data344
        Lesson Summary345
    Lesson 2: Creating, Modifying, and Deleting Views346
        Creating Views346
        Creating Standard Views348
        Creating Indexed Views348
        Creating the Index350
        Creating Partitioned Views351
        Modifying Views353
        Deleting Views354
        Exercise 1: Creating and Modifying a View354
        Lesson Summary356
    Lesson 3: Accessing Data through Views357
        Viewing Data through Views357
        Modifying Data through Views357
        Modifying Data through Basic Views358
        Adding Data through a View359
        Changing Data through a View359
        Deleting Data through a View360
        Modifying Data through Partitioned Views360
        INSERT Statements 360
        UPDATE Statements 361
        DELETE Statements 361
        Modifying Data when the INSTEAD OF Trigger Is Used361
        Exercise 2: Using the AuthorsBooks View to Access Data362
        Lesson Summary364
    Review365
CHAPTER 11  Implementing Indexes367
    About This Chapter367
    Before You Begin367
    Lesson 1: Index Architecture368
        Purpose and Structure368
        Index Types369
        Clustered Indexes369
        Nonclustered Indexes370
        Index Characteristics371
        Unique371
        Composite371
        Fill Factor and Pad Index372
        Sort Order373
        Index Information373
        Full-Text Indexing375
        Exercise 1: Viewing Index Properties and Using an Index375
        Lesson Summary377
    Lesson 2: Index Creation and Administration378
        Index Creation378
        Using a Graphical Interface378
        Using Transact-SQL Statements380
        Index Administration382
        Deleting an Index383
        Rebuilding an Index383
        Renaming an Index384
        Choosing to Index384
        Index Performance386
        Index Statistics386
        Exercise 2: Creating a Clustered Index387
        Lesson Summary390
    Review392
CHAPTER 12  Managing SQL Server Transactions and Locks393
    About This Chapter393
    Before You Begin393
    Lesson 1: Transaction and Locking Architecture394
        Transaction Log Architecture394
        Write-Ahead Transaction Log395
        Transaction Log Logical Architecture395
        Checkpoints and the Active Portion of the Log396
        Truncating the Transaction Log397
        Transaction Log Physical Architecture397
        Shrinking the Transaction Log398
        Concurrency Architecture399
        Locking Architecture399
        Distributed Transaction Architecture401
        Exercise 1: Accessing and Modifying the Transaction Log401
        Lesson Summary402
    Lesson 2: Managing SQL Server Transactions403
        Overview of SQL Server Transactions403
        Specifying Transaction Boundaries404
        Transact-SQL Statements Allowed in Transactions405
        Coding Efficient Transactions405
        Avoiding Concurrency Problems405
        Errors During Transaction Processing406
        Types of Transactions406
        Explicit Transactions406
        Autocommit Transactions407
        Compile and Run-Time Errors408
        Implicit Transactions409
        Transact-SQL Implicit Transactions409
        API Implicit Transactions410
        Distributed Transactions411
        Transact-SQL Distributed Transactions411
        Required Transact-SQL Statements412
        MS DTC Distributed Transactions412
        Exercise 2: Implementing Explicit Transactions413
        Lesson Summary416
    Lesson 3: Managing SQL Server Locking417
        Types of Concurrency Problems417
        Lost Updates417
        Uncommitted Dependency (Dirty Read)418
        Inconsistent Analysis (Non-repeatable Read)418
        Phantom Reads418
        Optimistic and Pessimistic Concurrency419
        Optimistic Concurrency419
        Pessimistic Concurrency419
        Isolation Levels419
        SQL-92 Isolation Levels419
        Customizing Locking420
        Managing Deadlocks421
        Minimizing Deadlocks421
        Customizing Timeouts422
        Setting Transaction Isolation Levels423
        Implementing Table-Level Locking Hints424
        Customizing Locking for an Index426
        Exercise 3: Configuring Transaction Properties427
        Lesson Summary428
    Review429
CHAPTER 13  Designing and Administering SQL Server 2000 Security431
    About This Chapter431
    Before You Begin431
    Lesson 1: Overview of SQL Server 2000 Security432
        Physical Security432
        Network Protocol Security432
        Domain Security434
        Local Computer Security434
        SQL Server Security435
        Authentication435
        Authorization437
        Groups and Roles437
        Permission States440
        Object and Statement Permissions440
        Auditing441
        Object Encryption441
        Application442
        Lesson Summary442
    Lesson 2: Designing a Database Security Plan443
        Requirements443
        Nesting and Ownership Chains444
        Nesting445
        Ownership Chains445
        Security Design Recommendations446
        Users, Groups, and Roles446
        Permissions446
        Exercise 1: Designing Security for BookShopDB447
        Lesson Summary448
    Lesson 3: Database Security Implementation and Administration449
        Administering Authentication449
        Configuring Authentication in Enterprise Manager449
        Configuring Authentication Using Transact-SQL450
        Windows Accounts450
        SQL Server Login ID451
        Administering Authorization451
        Configuring Authorization in Enterprise Manager451
        Configuring Authorization Using Transact-SQL452
        Administering Permissions453
        Configuring Permissions in Enterprise Manager453
        Configuring Permissions Using Transact-SQL454
        The GRANT Statement454
        The Revoke Statement456
        The DENY Statement457
        Administering Roles457
        Adding and Deleting Roles457
        Administering Role Membership458
        Activating an Application Role459
        Exercise 2: Implementing Security for BookShopDB460
        Lesson Summary463
    Review465
CHAPTER 14  SQL Server Monitoring and Tuning467
    About this Chapter467
    Before You Begin467
    Lesson 1: Monitoring Databases with SQL Profiler468
        SQL Server Monitoring468
        SQL Profiler469
        Monitoring with SQL Profiler469
        Choosing Events, Data Columns, and Filters470
        Preparing to Run a Trace in SQL Profiler471
        Using a Trace Template473
        Controlling the Trace473
        Replaying a Trace473
        Exercise 1: Capturing Events Using SQL Profiler474
        Lesson Summary477
    Lesson 2: Index Tuning and Database Partitioning478
        SQL Server Tuning478
        Index Tuning Wizard Overview478
        Running the Index Tuning Wizard480
        Partitioning Overview481
        File and Disk Partitioning481
        Federated and Clustered Servers481
        Distributed Partitioned Views482
        Exercise 2: Tuning Queries Using the Index Tuning Wizard482
        Lesson Summary485
    Review486
PART 2  PREPARATION FOR MCP EXAM 70-229 
OBJECTIVE DOMAIN 1: Developing a Logical Data Model489
    Tested Skills and Suggested Practices489
    Further Reading491
    Objective 1.1: Define entities495
        Questions497
        Answers500
    Objective 1.2: Design entity keys503
        Questions505
        Answers509
    Objective 1.3: Design attribute domain integrity513
        Questions515
        Answers518
OBJECTIVE DOMAIN 2: Implementing the Physical Database521
    Tested Skills and Suggested Practices522
    Further Reading523
    Objective 2.1: Create and alter databases525
        Questions526
        Answers530
    Objective 2.2: Create and alter database objects535
        Questions536
        Answers542
    Objective 2.3: Alter database objects to support replication and partitioned views549
        Questions551
        Answers554
    Objective 2.4: Troubleshoot failed object creation559
        Questions560
        Answers562
OBJECTIVE DOMAIN 3: Retrieving and Modifying Data565
    Tested Skills and Suggested Practices566
    Further Reading568
    Objective 3.1: Import and export data571
        Questions572
        Answers574
    Objective 3.2: Manipulate heterogeneous data577
        Questions579
        Answers581
    Objective 3.3: Retrieve, filter, group, summarize, and modify data by using Transact-SQL583
        Questions585
        Answers590
    Objective 3.4: Manage result sets by using cursors and Transact-SQL595
        Questions597
        Answers598
    Objective 3.5: Extract data in XML format601
        Questions603
        Answers605
OBJECTIVE DOMAIN 4: Programming Business Logic607
    Tested Skills and Suggested Practices608
    Further Reading609
    Objective 4.1: Manage data manipulation by using stored procedures, transactions, triggers, user-defined functions, and views613
        Questions615
        Answers620
    Objective 4.2: Enforce procedural business logic by using stored procedures, transactions, triggers, user-defined functions, and views625
        Questions626
        Answers631
    Objective 4.3: Troubleshoot and optimize programming objects635
        Questions636
        Answers638
OBJECTIVE DOMAIN 5: Tuning and Optimizing Data Access641
    Tested Skills and Suggested Practices642
    Further Reading643
    Objective 5.1: Analyze the query execution plan645
        Questions646
        Answers649
    Objective 5.2: Capture, analyze, and replay SQL Profiler traces651
        Questions652
        Answers654
    Objective 5.3: Create and implement indexing strategies657
        Questions658
        Answers659
    Objective 5.4: Improve index use by using the Index Tuning Wizard661
        Questions662
        Answers664
    Objective 5.5: Monitor and troubleshoot database activity by using SQL Profiler667
        Questions668
        Answers670
OBJECTIVE DOMAIN 6: Designing a Database Security Plan673
    Tested Skills and Suggested Practices674
    Further Reading674
    Objective 6.1: Control data access by using stored procedures, triggers, user-defined functions, and views677
        Questions678
        Answers680
    Objective 6.2: Define object-level security including column-level permissions by using GRANT, REVOKE, and DENY683
        Questions684
        Answers686
    Objective 6.3: Create and manage application roles689
        Questions690
        Answers692
APPENDIX: Questions and Answers695
GLOSSARY749
INDEX797



Last Updated: May 15, 2003
Top of Page