MCSE Database Design on SQL Server 7

( 1 )

Overview

Covers how to design databases for information systems that incorporate Microsoft SQL Server 7.0. The book goes beyond simple knowledge of SQL Server 7 to include SQL Server 7 concepts and procedures as tested on the exam. A complete review: developing a logical data model, deriving the physical design, creating a physical database, data service design, and database maintenance. Includes resource sections at the end of each chapter to help the reader make use of the best study aids available. Serves as a ...
See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (9) from $1.99   
  • New (2) from $3.99   
  • Used (7) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$3.99
Seller since Tue Aug 05 20:14:15 EDT 2014

Feedback rating:

(26)

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
New BEST BUY..............................OFX/240

Ships from: Bay, AR

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$45.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

Covers how to design databases for information systems that incorporate Microsoft SQL Server 7.0. The book goes beyond simple knowledge of SQL Server 7 to include SQL Server 7 concepts and procedures as tested on the exam. A complete review: developing a logical data model, deriving the physical design, creating a physical database, data service design, and database maintenance. Includes resource sections at the end of each chapter to help the reader make use of the best study aids available. Serves as a complement to study guides for Exam 70-029: Implementing a Database Design on SQL Server 7.0. Exam 70-029 doubles as a MCSE elective and an MCDBA core requirement. Includes sections on proven test-taking strategies, warnings on trick questions, time-saving study tips, multiple-part question strategies, and shortcuts. Provides practice exams that feature questions arranged in a similar format to the ones found on the actual exam. Provides all of the necessary overviews, concepts, and Microsoft networking terminology to help potential test takers get up to speed as quickly as possible. Guarantees long shelf life because tests are not made available until roughly 90-120 days after the release of the software.
Read More Show Less

Editorial Reviews

Booknews
A test preparation guide for the Microsoft's Designing and Implementing a Database with SQL Server 7.0 certification exam 70- 029. Individual chapters cover data definition, retrieving data, modifying table data, session configuration, triggers, transactions, the data transaction service, and monitoring. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

  • ISBN-13: 9781576102282
  • Publisher: Coriolis Group
  • Publication date: 7/28/1999
  • Series: Exam Cram 2 Series
  • Pages: 464
  • Product dimensions: 6.04 (w) x 9.00 (h) x 1.20 (d)

Read an Excerpt

Chapter 6: Retrieving Data

Terms you'll need to understand:
• SELECT statement                   • Joining tables
• Subquery • Using subqueries
• Aggregate • Qualifying object names
• Union • Retrieving text and images
• SQL

Techniques you'll need to master:

• Specifying rows • Outer join
• Using functions • Inner join
• Using the like keyword • Cross join
• Formatting and sorting data                   • Result set
• Grouping results Derived table

Storing data in a database does you no good unless there is some way to retrieve the data. Not surprisingly, Microsoft SQL Server uses Structured Query Language (SQL) to access data stored in databases. The SQL SELECT statement is used to retrieve data.

Alert:    SQL is an ANSI standard database access layer. One of its main purposes is to hide the underlying data structures from users, thereby making it simpler for users to manipulate the data. SQL Server has extensions to ANSI SQL called Transact-SQL(TSQL).

Parts Of The SELECT Statement

A SELECT statement consists of seven basic parts:
  • select list
  • FROM
  • WHERE
  • GROUP BY
  • HAVING
  • ORDER BY
  • COMPUTE
All of the SELECT statement clauses, except the select list, are optional. The order in which the clauses appear is mandatory. Listing 6.1 shows the SELECT statement's syntax.

Listing 6.1 The SELECT statement's syntax.

SELECT [ ALL | DISTINCT ] [ TOP n [PERCENT] [WITH TIES] ] select_list
[ INTO table_name ]
[FROM {table_name | view_name}
[ , {table_name | view_name} ... ]
[ WHERE search_conditions ]
[ GROUP BY aggregate_free_expression
[ , aggregate_free_expression ... ]
[WITH CUBE|ROLLUP] ]
[ HAVING search_conditions ]
[ ORDER BY { column_name | select_list_no } [ ASC | DESC ]
[ , { column_name | select_list_no } [ ASC | DESC ] ... ] ]
[ COMPUTE row_aggregate(column_name)
[ , row_aggregate(column_name) ] ...
[ BY column_name [ , column_name ] ... ] ] ]
When performing a SELECT, you receive a result set, a table of results, from the SQL Server. A result set consists of three parts — columns, column headings, and rows. A result set can have one or more columns. In addition, it can have column headings that are blank and it can contain zero or more rows of data.
Note:  Table and column names can be configured to be either case sensitive or case insensitive. SQL keywords are always case insensitive. With SQL Server 7, the names can have a bracket around them, such as '[object_name]'. The following code example shows a SELECT statement written both with and without brackets around column and table names.

SELECT [d].[discounttype] FROM [dbo].[discount] d
— Performs the same select as
SELECT d.discounttype FROM dbo.discount d

In the upcoming sections, we'll take a closer look at the SELECT statement's seven clauses. To keep our presentation orderly, we'll look at each clause in the order in which the clause should appear in a SELECT statement. Therefore, the first clause we'll look at is the select list.

The Select List

The select list portion of a SELECT statement appears as follows:

SELECT [ ALL | DISTINCT ] [ TOP n [PERCENT] [ WITH TIES] ] select_list

The clause provides a way to specify which columns should be included in the SELECT statement's result set. Columns are returned in the order in which they appear in the select list clause.

When you use a SELECT statement, the select list returns a virtual table of results (a result set). This table can contain constants, columns, functions, and derived columns. For example, the following code snippet returns a constant value ('constant value'), a database column (Column1), a function (@@SERVERNAME), and a derived column (Column2+Column2):

SELECT 'constant value', Columnl, @@SERVERNAME, Column2+Column2 FROM MyTable

To specify all columns in a table, you can either list each column or use an asterisk (*) in the select list. When you use an asterisk, all of the columns in the table will be returned. You can specify an * along with constraints, columns, and derived columns in the result set. The following example shows how to use an * in SELECT statements:

SELECT * FROM MyTable
SELECT * Columnl+Column2 FROM MyTable

By default, SELECT statements return all rows, including duplicate rows. To explicitly ask for all rows, include the ALL keyword before the select list. The ALL keyword does not ever have to be used, it is provided to make TSQL ANSI-compliant. To have a SELECT statement return only the unique rows, precede the select list with the DISTINCT keyword. If used, the DISTINCT or ALL keywords must immediately follow the SELECT keyword, as shown here:

SELECT DISTINCT 'constraint value', Column1,
@@SERVERNAME, Column2+Column2
FROM MyTable

You can assign values to variables or retrieve a result set with a SELECT statement. You cannot do both in the same SELECT statement. For example, if @a is an integer variable, this is a valid SELECT:

SELECT @a = 5

If @a is an integer variable, this is an invalid SELECT:

SELECT @a = 5, au_id FROM authors

When you perform a SELECT, the result set includes a default column heading for each column returned. Constant values, functions, and other derived columns have blank column headings. The default column heading is the column name. The headings for the previous example would be a blank value for the constant, Columnl for Column 1, a blank value for @@SERVERNAME, and a blank value for Co1umn2+Co1umn2.

You can change column headings by assigning aliases to them in the select list. SQL Server provides three ways to assign column headings to a result set:

Column_Heading = column
Column Column_Heading
Column AS Column_Heading

If the column heading has any special characters, such as spaces, you must enclose the column heading in quotes.

Tip:    MS SQL Server allows you to use either single quotes (') or double quotes (") in SQL statements. The ANSI standard uses double quotes for object names and column headings with special characters,and single quotes for everything else. We recommend that you follow this practice.

In conjunction with the select list, you use the FROM clause to specify the tables that contain the data you are looking for. ...

Read More Show Less

Table of Contents

Introduction
Self-Assessment
Chapter 1: Microsoft Certification Exams
Chapter 2: Data Models
Chapter 3: System Databases, Tables, and Stored Procedures
Chapter 4: Databases and Files
Chapter 5: Data Definition
Chapter 6: Retrieving Data
Chapter 7: Modifying Table Data
Chapter 8: Session Configuration
Chapter 9: Indexes
Chapter 10: Rules, Defaults, and Views
Chapter 11: Transact-SQL Programming
Chapter 12: Triggers
Chapter 13: Transactions
Chapter 14: Importing, Exporting, and Transforming Data
Chapter 15: Full-Text Search
Chapter 16: Monitoring
Chapter 17: Remote Data Access
Chapter 18: Sample Test
Chapter 19: Answer Key
Appendix A: Pubs Database
Appendix B: Functions
Appendix C: Transact-SQL Syntax
Glossary
Index
Read More Show Less

Customer Reviews

Average Rating 1
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(1)
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted Tue Oct 22 00:00:00 EDT 2002

    AVOID THIS BOOK

    This book has way to many errors. If you want to pass the exam, don't use this book. I am very displeased because I answered questions correctly but the solutions on the cd mark them incorrect. Extremely poor editing of the book by the publisher. For example, the book states that tranaction logs can be created as part of a file group. They can not. I can get by with the many grammical errors, but I can't approve of incorrect information when I need it to pass the exam.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

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