MCSE Training Kit (Exam 70-229): Microsoft SQL Server(TM) 2000 Database Design and Implementation (Pro Certification)

3 4

About This Book

Welcome to MCSE Training Kit: Microsoft SQL Server 2000 Database Design and Implementation. This training kit introduces you to SQL Server 2000 and provides detailed information about how to design and implement a SQL Server database. The training kit takes you through the steps of how to plan and implement a database, create and maintain database objects, and implement data integrity. You will also be introduced to Transact-SQL, and you will learn how to use Transact-SQL to query a SQL Server database and manage and manipulate data stored in that database. Finally, the training kit describes how to manage SQL Server security and how to maintain and optimize a SQL Server database.

NOTE


For more information on becoming a Microsoft Certified Systems Engineer, see the section titled "The Microsoft Certified Professional Program" later in this chapter.

Each chapter in this book is divided into lessons. Most lessons include hands-on procedures that allow you to practice or demonstrate a particular concept or skill. Each lesson ends with a short summary of the information presented in that lesson, and each chapter ends with a set of review questions to test your knowledge of the chapter material.

The "Getting Started" section of this chapter provides important setup instructions that describe the hardware and software requirements to complete the procedures in this course. Read through this section thoroughly before you start the lessons.

Intended Audience

This book was developed for information technology (IT) professionals who need to design, plan, implement, and support Microsoft SQL Server 2000 or who plan to take the related Microsoft Certified Professional exam 70-229, Designing and Implementing Databases with Microsoft SQL Server 2000 Enterprise Edition.

Prerequisites

This course requires that students meet the following prerequisites:

Reference Materials

You might find the following reference materials useful:

About the CD-ROM

The Supplemental Course Materials CD-ROM also contains files required to perform the hands-on procedures, as well as information designed to supplement the lesson material. These files can be used directly from the CD-ROM or copied onto your hard disk by using the setup program. For more information regarding the contents of this CD-ROM, see the section titled "Getting Started" later in this introduction.

A complete version of this book is also available online with a variety of viewing options available. For information about using the online book, see the section, "The Online Book," later in this introduction (the other CD-ROM contains Windows 2000 Server and SQL Server 2000 Enterprise Edition).

Features of This Book

Each chapter opens with a "Before You Begin" section, which prepares you for completing the chapter.

The chapters are then broken into lessons. Whenever possible, lessons contain practices that give you an opportunity to use the skills being presented or to explore the part of the application being described. All practices offer step-by-step procedures.

The "Review" section at the end of the chapter allows you to test what you have learned in the chapter's lessons.

Appendix A, "Questions and Answers," contains all of the book's questions and corresponding answers.

Notes

Several types of Notes appear throughout the lessons.

Conventions

The following conventions are used throughout this book.

Notational Conventions

Icon Represents
A hands-on exercise. You should perform the exercise to give yourself an opportunity to use the skills being presented in the lesson.
Chapter review questions. These questions at the end of each chapter allow you to test what you have learned in the lessons. You will find the answers to the review questions in Appendix A, the "Questions and Answers" section at the end of the book.

Keyboard Conventions

Chapter and Appendix Overview

This self-paced training course combines notes, hands-on procedures, and review questions to teach you how to design and implement databases with SQL Server 2000. It is designed to be completed from beginning to end, but in some cases you can choose a customized track and complete only the sections that interest you. (See the next section, "Finding the Best Starting Point for You," for more information.) If you choose the customized track option, see the "Before You Begin" section in each chapter. Any hands-on procedures that require preliminary work from preceding chapters refer to the appropriate chapters.

The book is divided into the following chapters:

Finding the Best Starting Point for You

Because this book is self-paced, you can skip some lessons and revisit them later. But note that you must complete the procedures in certain chapters before you can complete the procedures in other chapters:

Use the following table to find the best starting point for you.

If you Follow this learning path
Are preparing to take the Microsoft Certified Professional exam 70-229, Designing and Implementing Databases with Microsoft SQL Server 2000 Enterprise Edition Read the "Getting Started" section. Then work through Chapter 1, "Introduction to Microsoft SQL Server 2000," through Chapter 7, "Managing and Manipulating Data." Work through the remaining chapters in any order.
Want to review information about specific topics from the exam Use the "Where to Find Specific Skills in This Book" section that follows this table.

Where to Find Specific Skills in This Book

The following tables provide a list of the skills measured on certification exam 70-229, Designing and Implementing Databases with Microsoft SQL Server 2000 Enterprise Edition. The table provides the skill and where in this book you will find the lesson relating to that skill.

NOTE


Exam skills are subject to change without prior notice and at the sole discretion of Microsoft.

Skill Being Measured Location in Book
Developing a Logical Data Model
1.1 Define entities. Chapter 3, Lessons 1 and 2
1.2 Design entity keys. Chapter 5, Lessons 1 and 2
1.3 Design attribute domain integrity. Chapter 4, Lessons 2 and 3 Chapter 5, Lessons 1 and 2
Implementing the Physical Database
2.1 Create and alter databases. Chapter 3, Lessons 1, 2, 3, and 4 Chapter 4, Lesson 1
2.2 Create and alter database objects. Chapter 2, Lesson 4 Chapter 4, Lessons 1 and 3 Chapter 5, Lessons 1 and 2 Chapter 8, Lessons 1, 2, and 3 Chapter 9, Lessons 1, 2, and 3 Chapter 10, Lessons 1, 2, and 3 Chapter 11, Lessons 1 and 2
2.3 Alter database objects to support replication and partitioned views. Chapter 14, Lesson 2
2.4 Troubleshoot failed object creation. Chapter 14, Lesson 1
Retrieving and Modifying Data
3.1 Import and export data. Chapter 7, Lesson 1
3.2 Manipulate heterogeneous data. Chapter 7, Lesson 2
3.3 Retrieve, filter, group, summarize, and modify data by using Transact-SQL. Chapter 6, Lessons 1, 2, and 3
3.4 Manage result sets by using cursors and Transact-SQL. Chapter 6, Lessons 1, 2, and 3 Chapter 7, Lesson 3
3.5 Extract data in XML format. Chapter 7, Lesson 4
Programming Business Logic
4.1 Manage data manipulation by using stored procedures, transactions, triggers, user-defined functions, and views. Chapter 2, Lesson 3 Chapter 8, Lessons 1, 2, and 3 Chapter 9, Lessons 1, 2, and 3 Chapter 10, Lessons 1, 2, and 3 Chapter 12, Lessons 1, 2, and 3
4.2 Enforce procedural business logic by using stored procedures, transactions, triggers, user-defined functions, and views. Chapter 2, Lesson 3 Chapter 8, Lessons 1, 2, and 3 Chapter 9, Lessons 1, 2, and 3 Chapter 10, Lessons 1, 2, and 3 Chapter 12, Lessons 1, 2, and 3
4.3 Troubleshoot and optimize programming objects. Chapter 14, Lesson 1
Tuning and Optimizing Data Access
5.1 Analyze the query execution plan. Chapter 14, Lesson 1
5.2 Capture, analyze, and replay SQL Profiler traces. Chapter 14, Lesson 1
5.3 Create and implement indexing strategies. Chapter 11, Lessons 1 and 2
5.4 Analyze index use by using the Index Tuning wizard. Chapter 11, Lessons 1 and 2
5.5 Monitor and troubleshoot database activity by using SQL Profiler. Chapter 14, Lesson 1
Designing a Database Security Plan
6.1 Control data access by using stored procedures, triggers, user-defined functions, and views. Chapter 2, Lesson 3 Chapter 8, Lessons 1, 2, and 3 Chapter 9, Lessons 1, 2, and 3 Chapter 10, Lessons 1, 2, and 3 Chapter 13, Lessons 1, 2, and 3
6.2 Define object-level security, including column-level permissions, by using Grant, Revoke, and Deny. Chapter 13, Lessons 1, 2, and 3
6.3 Create and manage application roles. Chapter 13, Lessons 1, 2, and 3

Getting Started

This self-paced training course contains hands-on procedures to help you learn about Microsoft SQL Server 2000 Enterprise Edition.

Hardware Requirements

Your computer must meet the minimum hardware requirements for Windows 2000 Server. In addition, you must meet the following minimum configuration to support SQL Server 2000 Enterprise Edition. All hardware should be on the Microsoft Windows 2000 Server Hardware Compatibility List (HCL). The latest version of the HCL can be downloaded from the Hardware Compatibility List Web page at http://www.microsoft.com/hwtest/hcl/.

Software Requirements

The following software is required to complete the procedures in this course (120-day evaluation copies of each of these products are included on the CD-ROMs in this kit).

CAUTION


The 120-day Evaluation Editions provided with this training kit are not the full retail products and are provided only for the purposes of training and evaluation. Microsoft Technical Support does not support these evaluation editions. For additional support information regarding this book and the CD-ROMs (including answers to commonly asked questions about installation and use), visit the Microsoft Press Technical Support web site at http://mspress.microsoft.com/support/. You can also e-mail tkinput@microsoft.com, or send a letter to Microsoft Press, Attn: Microsoft Press Technical Support, One Microsoft Way, Redmond, WA 98502-6399.

Setup Instructions

Set up your computer according to the manufacturer's instructions. Use default installation options when setting up Windows 2000 Server and SQL Server 2000. The Windows 2000 computer should be set up as a stand-alone server.

The Online Book

The CD-ROM also includes an online version of the book that you can view on-screen by using Microsoft Internet Explorer 4.01 or later.

To use the online version of this book

  1. Insert the Supplemental Course Materials CD-ROM into your CD-ROM drive.
  2. Select Run from the Start menu on your desktop, and type D:\Ebook\Setup.exe (where D is the name of your CD-ROM disk drive).

This will install an icon for the online book to your Start menu.

  1. Click OK to exit the Installation wizard.

NOTE


You must have the Supplemental Course Materials CD-ROM inserted in your CD-ROM drive to run the online book.

The Microsoft Certified Professional Program

The Microsoft Certified Professional (MCP) program provides the best method to prove your command of current Microsoft products and technologies. Microsoft, an industry leader in certification, is on the forefront of testing methodology. Our exams and corresponding certifications are developed to validate your mastery of critical competencies as you design and develop, or implement and support, solutions with Microsoft products and technologies. Computer professionals who become Microsoft certified are recognized as experts and are sought after industry-wide.

The Microsoft Certified Professional program offers eight certifications, based on specific areas of technical expertise:

Microsoft Certification Benefits

Microsoft certification, one of the most comprehensive certification programs available for assessing and maintaining software-related skills, is a valuable measure of an individual's knowledge and expertise. Microsoft certification is awarded to individuals who have successfully demonstrated their ability to perform specific tasks and implement solutions with Microsoft products. Not only does this provide an objective measure for employers to consider; it also provides guidance for what an individual should know to be proficient. And as with any skills-assessment and benchmarking measure, certification brings a variety of benefits to the individual and to employers and organizations.

Microsoft Certification Benefits for Individuals

As a Microsoft Certified Professional, you receive many benefits, including the following:

Additional benefits, depending on your certification and geography, include:

Microsoft Certification Benefits for Employers and Organizations

Through certification, computer professionals can maximize the return on investment in Microsoft technology. Research shows that Microsoft certification provides organizations with the following:

To learn more about how certification can help your company, see the backgrounders, white papers, and case studies available at http://www.microsoft.com/mcp/mktg/bus_bene.htm:

Requirements for Becoming a Microsoft Certified Professional

The certification requirements differ for each certification and are specific to the products and job functions addressed by the certification.

To become a Microsoft Certified Professional, you must pass rigorous certification exams that provide a valid and reliable measure of technical proficiency and expertise. These exams are designed to test your expertise and ability to perform a role or task with a product, and are developed with the input of professionals in the industry. Questions in the exams reflect how Microsoft products are used in actual organizations, giving them "real-world" relevance.

Microsoft Certified Product Specialists are required to pass one operating system exam. Candidates may pass additional Microsoft certification exams to further qualify their skills with Microsoft BackOffice products, development tools, or desktop applications.

Microsoft Certified Professional + Internet specialists are required to pass the prescribed Microsoft Windows NT Server 4.0, TCP/IP, and Microsoft Internet Information System exam series.

Microsoft Certified Professionals with a specialty in site building are required to pass two exams covering Microsoft FrontPage, Microsoft Site Server, and Microsoft Visual InterDev technologies to provide a valid and reliable measure of technical proficiency and expertise.

Microsoft Certified Systems Engineers are required to pass a series of core Microsoft Windows operating system and networking exams, and BackOffice technology elective exams.

Microsoft Certified Systems Engineers + Internet specialists are required to pass seven operating system exams and two elective exams that provide a valid and reliable measure of technical proficiency and expertise.

Microsoft Certified Database Administrators are required to pass three core exams and one elective exam that provide a valid and reliable measure of technical proficiency and expertise.

Microsoft Certified Solution Developers are required to pass two core Microsoft Windows operating system technology exams and two BackOffice technology elective exams.

Microsoft Certified Trainers are required to meet instructional and technical requirements specific to each Microsoft Official Curriculum course they are certified to deliver. In the United States and Canada, call Microsoft at (800) 636-7544 for more information on becoming a Microsoft Certified Trainer or visit http://www.microsoft.com/train_cert/mct/. Outside the United States and Canada, contact your local Microsoft subsidiary.

Technical Training for Computer Professionals

Technical training is available in a variety of ways, with instructor-led classes, online instruction, or self-paced training available at thousands of locations worldwide.

Self-Paced Training

For motivated learners who are ready for the challenge, self-paced instruction is the most flexible, cost-effective way to increase your knowledge and skills.

A full line of self-paced print and computer-based training materials is available direct from the source—Microsoft Press. Microsoft Official Curriculum courseware kits from Microsoft Press are designed for advanced computer system professionals. These resources are available from Microsoft Press and the Microsoft Developer Division. Self-paced training kits from Microsoft Press feature print-based instructional materials, along with CD-ROM-based product software, multimedia presentations, lab exercises, and practice files. The Mastering Series provides in-depth, interactive training on CD-ROM for experienced developers. They're both great ways to prepare for Microsoft Certified Professional exams.

Online Training

For a more flexible alternative to instructor-led classes, turn to online instruction. It's as near as the Internet and it's ready whenever you are. Learn at your own pace and on your own schedule in a virtual classroom, often with easy access to an online instructor. Without ever leaving your desk, you can gain the expertise you need. Online instruction covers a variety of Microsoft products and technologies. It includes options ranging from Microsoft Official Curriculum to choices available nowhere else. It's training on demand, with access to learning resources 24 hours a day. Online training is available through Microsoft Certified Technical Education Centers.

Microsoft Certified Technical Education Centers

Microsoft Certified Technical Education Centers (CTECs) are the best source for instructor-led training that can help you prepare to become a Microsoft Certified Professional. The Microsoft CTEC program is a worldwide network of qualified technical training organizations that provide authorized delivery of Microsoft Official Curriculum courses by Microsoft Certified Trainers to computer professionals.

For a listing of CTEC locations in the United States and Canada, visit http://www.microsoft.com/CTEC/default.htm.

Technical Support

Every effort has been made to ensure the accuracy of this book and the contents of the companion CD-ROMs. If you have comments, questions, or ideas regarding this book or the companion CD-ROMs, please send them to Microsoft Press using either of the following methods:

E-mail:

tkinput@microsoft.com

Postal Mail:

Microsoft Press

Attn: MCSE Training Kit: Microsoft SQL Server 2000 Database Design and Implementation Editor

One Microsoft Way

Redmond, WA 98052-6399

Microsoft Press provides corrections for books through the World Wide Web at the following address:

http://mspress.microsoft.com/support/.

Please note that product support is not offered through the above mail addresses. For further information regarding Microsoft software support options, please connect to http://www.microsoft.com/support/ or call Microsoft Support Network Sales at (800) 936-3500.

The Evaluation Edition of Microsoft SQL Server 2000 included with this book is unsupported by both Microsoft and Microsoft Press, and should not be used on a primary work computer. For online support information relating to the full version of Microsoft SQL Server 2000 that might also apply to the Evaluation Edition, you can connect to http://support.microsoft.com/.

For information about ordering the full version of any Microsoft software, please call Microsoft Sales at (800) 426-9400 or visit http://www.microsoft.com. Information about any issues relating to the use of this evaluation edition with this training kit is posted to the Support section of the Microsoft Press Web site (http://mspress.microsoft.com/support/).

Категории