MCSE Training Guide: SQL Server 7 Database Design

Overview

The Microsoft Certified Systems Engineer (MCSE) certification continues to increase in popularity. Employers often require this certification because it proves applicants have mastered the ability to design, develop, 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. Having MCSE credentials increases an administrator's salary potential by thousands of dollars. In order to ...
See more details below
Available through our Marketplace sellers.
Other sellers (Multimedia Set)
  • All (14) from $1.99   
  • New (2) from $33.49   
  • Used (12) from $0.0   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$33.49
Seller since Tue Oct 07 09:35:53 EDT 2014

Feedback rating:

(294)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$50.00
Seller since Tue Oct 07 09:37:03 EDT 2014

Feedback rating:

(184)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

The Microsoft Certified Systems Engineer (MCSE) certification continues to increase in popularity. Employers often require this certification because it proves applicants have mastered the ability to design, develop, 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. Having MCSE credentials increases an administrator's salary potential by thousands of dollars. In order to obtain their MCSE, candidates are required to pass six exams-four core exams and two elective exams. This curriculum is very rigorous and extremely challenging. The MCSE exams, which cost $100 each, are much more difficult than the Novell CNE exams. Candidates are in need of a complete, concise, inexpensive study guide to fully prepare them to pass the exams.
Read More Show Less

Product Details

  • ISBN-13: 9780735700048
  • Publisher: Que
  • Publication date: 5/14/1999
  • Series: MCSE Training Guide Series
  • Edition description: BK&CD ROM
  • Pages: 542
  • Product dimensions: 8.25 (w) x 9.59 (h) x 1.69 (d)

Meet the Author


David Besch lives in Olathe, Kansas, where he is a database administrator in the managed health care service industry. He is an MCSD and has been in the computer science field for four years. David is the coauthor of MCSE Training Guide: SQL Server 65 Design and Implementation and served as the technical editor for Teach Yourself MCSE SQL Server 65 Administration in 14 Days. David, married to a beautiful, highly intelligent, and supportive wife, Cheryl, is expecting the arrival of their first child in the spring of 1999. He spends his spare time reading the latest Robert Jordan, The Wheel of Time series, or playing Ultima on the computer. (So if you have any theories on whether Moraine is still alive or any other topic in The Wheel of Time series, email him at DavidB@geoaccess.com.) You can also send any comments or questions on this book to the same email address.
Read More Show Less

Read an Excerpt


Chapter 4: Indexing

REVIEW BREAK

Index Types

In this last section you have seen different types of indexes that SQL Server supports. The most important distinction to an index is whether it is clustered or non-clustered. The clustering type affects the very structure of the index, whereas the composite and unique types simply describe details of the index. Remember that clustered indexes physically order the data of the table itself, which is why there can only be one per table. Non-clustered indexes merely point to the actual rows either through direct pointers, or by storing the clustered key value if one exists. Composite indexes are indexes which are made on more than one column, and unique indexes provide automatic checking that the indexed column or columns values are unique.

Now that you understand the types of indexes that you can create, you are ready to explore some theory on how to decide which indexes to use in different situations. Then you will be ready to look at how to actually implement indexes in your database.

GUIDELINES FOR INDEXING

  • Create and maintain indexes.
    • Choose an indexing strategy that will optimize performance.
    • Given a situation, choose the appropriate type of index to create.
    • Choose the column or columns to index.
    • Choose the appropriate index characteristics, specifically FILLFACTOR, DROP_EXISTING, and PAD INDEX.

There are no hard and fast rules for when you should or should not create an index, but there are some pretty good rules of thumb that you can follow. First, you should create indexes only for those columns that are used in queries. The lname column in the employee table might be a good candidate for an index, but if it is never used (or very infrequently used) in queries it should not be indexed.

Second, indexes should be chosen that are selective. SQL Server works best with indexes that narrow its search quickly. For example, if you were to index a table containing a listing of Kansas City's residents, indexing on last name would probably be a good idea. Even for a common name like Jones, the number of rows returned (perhaps 25,000) would be small in comparison to the total number of rows in the table (perhaps 1.3 million). The selectivity in this example is around 2 percent - finding all people with the surname Jones returns only about 2 percent of the table.

On the other hand, indexing on a column that is not very unique (such as gender) is useless to SQL Server. If we assume that Kansas City's distribution of women and men is roughly equal, then about half of the table will be returned if SQL Server tries to narrow its search with the index on gender.

Choosing Which Columns to Index

Here are some guidelines for choosing which columns to include in an index:

  • Primary keys and foreign keys should nearly always be indexed. This provides SQL Server with the most number of methods to perform the join.
  • Create indexes on columns that you often search on-in other words, columns often used in the WHERE clause of a query.
  • Create indexes that cover the query. This is an index in which all the data usually retrieved from a query is held within the composite index.
  • Create indexes on columns that are often searched for a range of values, like datetime fields.
  • Create indexes on columns that are often used to sort the results of a query (those columns often included in an ORDER BY clause).

Knowing which columns to index is important. Equally important is knowing what type of index to create.

Choosing an Index Type

Keep the following in mind when you are choosing the type of index you will be creating:

  • Create unique indexes on a primary key or alternate key. This allows SQL Server to enforce entity integrity.

    (If you create PRIMARY KEY or UNIQUE constraints on a table as described in Chapter 3, SQL Server creates a unique Index for you.)

  • If you often retrieve data in sorted order by a particular column, consider putting a clustered index on that column. Because a clustered index physically sorts the rows in a table, SQL Server can retrieve rows very efficiently. The clustered index is most efficient for range queries and least useful when applied to simple IDENTITY columns.
  • If two or more columns are often searched as a unit, consider placing a composite index on both columns.
  • Consider using a non-clustered index on the primary key of a table if the table uses an IDENTITY column as its primary key. Placing a clustered index on an IDENTITY column causes all new rows to be inserted at the end of the table, which may cause concurrency problems if many users are inserting data into the table. Even with row-level locking, excessive insert activity on one data page will cause problems.

Indexes can be created or removed without affecting the data in a table, so feel free to experiment with different types of indexes if you need to.

MANAGING INDEXES WITH TRANSACT-SQL

  • Create and maintain indexes.
    • Choose an indexing strategy that will optimize performance.
    • Given a situation, choose the appropriate type of index to create.
    • Choose the column or columns to index.
    • Choose the appropriate index characteristics, specifically FILLFACTOR, DROP_EXISTING, and PAD INDEX.

Part of the database designer's role in database implementation is managing the indexes on the database. One of the nicer features of SQL Server is that indexes may be created and dropped independently of their tables, so indexes may be changed without affecting the data in the database. Typically, these changes are accomplished through the use of the Transact-SQL statements covered in this section....

Read More Show Less

Table of Contents

(NOTE: Each chapter begins with an Introduction.)

I. EXAM PREPARATION.

1. Data Modeling.
A College Enrollment Database. Introducing Data Modeling Concepts: Entities, Attributes, and Relationships. Implementing Entities and Attributes. Implementing Relationships. Normalizing Your Database Design.

2. Creating Physical Storage.
Units of Storage in SQL Server. Database Files and File Groups. Creating a Database. Database Options.

3. Implementing a Physical Design.
Understanding Data Types. Managing Tables. Using Constraints.

4. Indexing.
Introduction to Indexes. Types of Indexes. Guidelines for Indexing. Managing Indexes with Transact-SQL. Managing Indexes with Enterprise Manager. Implementing Full-Text Search.

5. Populating a Database.
Using Bulk Copy to Import and Export Data. Using the BCP Command-Line Utility. Using the BULK INSERT Statement. Using Data Transformation Services to Import and Export Data.

6. Retrieving Data.
Writing SELECT Statements: An Overview. Choosing Columns. Using DISTINCT and ALL Keywords. Choosing Rows. Sorting Result Rows. Generating Summary Data. Using Joins. Using Sub-Queries.

7. Modifying Data.
The INSERT Statement. TheUPDATE Statement. The DELETE Statement.

8. Programmability.
Control-of-Flow Statements. Managing Errors. Using Transactions. Implementing Cursors.

9. Miscellaneous Programming Techniques.
Stored Procedures. Views. Triggers. Distributed Queries.

10. Client Accessibility.
Dynamic Model versus Stored Procedure Model. Configuring Session-Level Options.

11. Maintaining a Database.
Creating, Examining, and Optimizing Execution Plans. Diagnosing and Resolving Locking Problems. Using SQL Server Profiler.

II. FINAL REVIEW.

12. Fast Facts: SQL_Server 7 Database Design.
Developing a Logical Data Model. Deriving the Physical Design. Creating Data Services. Creating a Physical Database. Maintaining a Database.

13. Study and Exam Prep Tips.
Study Tips. Exam Prep Tips. Final Considerations. Chapter—Practice Exam. Answers and Explanations.

III. APPENDIXES.

Appendix A: Glossary.
Appendix B: Overview of the Certification Process.
Types of Certification. Certification Requirements.

Appendix C: What's on the CD-ROM.
Top Score. Exclusive Electronic Version of Text. Copyright Information and Disclaimer.

Appendix D: Using the Top Score Software.
Getting Started. Instructions on Using the Top Score Software. Summary.

Index.
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)