Instant ebooks textbook SQL The Complete Reference 2nd Edition James R. Groff download all chapters
Instant ebooks textbook SQL The Complete Reference 2nd Edition James R. Groff download all chapters
com
https://ebookname.com/product/sql-the-complete-
reference-2nd-edition-james-r-groff/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookname.com/product/web-design-complete-reference-2nd-
edition-thomas-a-powell/
ebookname.com
https://ebookname.com/product/c-the-complete-reference-herbert-
schildt/
ebookname.com
https://ebookname.com/product/red-hat-linux-7-2-the-complete-
reference-2nd-edition-richard-petersen/
ebookname.com
https://ebookname.com/product/web-graphics-perl-tk-best-of-the-perl-
journal-1st-edition-jon-orwant-ph-d/
ebookname.com
Collaboration in Language Testing and Assessment 1st
Edition Dina Tsagari
https://ebookname.com/product/collaboration-in-language-testing-and-
assessment-1st-edition-dina-tsagari/
ebookname.com
https://ebookname.com/product/the-book-of-nothing-john-d-barrow/
ebookname.com
https://ebookname.com/product/drugs-and-crime-3rd-ed-edition-philip-
bean/
ebookname.com
https://ebookname.com/product/stoicism-ancient-philosophies-1st-
edition-john-sellars/
ebookname.com
https://ebookname.com/product/understanding-community-politics-policy-
and-practice-2nd-edition-peter-somerville/
ebookname.com
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9
Blind Folio i
SQL:
The Complete Reference,
Second Edition
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:05 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9
Blind Folio ii
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:06 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9
Blind Folio iii
SQL:
The Complete Reference,
Second Edition
James R. Groff and Paul N. Weinberg
McGraw-Hill/Osborne
New York Chicago San Francisco
Lisbon London Madrid Mexico City
Milan New Delhi San Juan
Seoul Singapore Sydney Toronto
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:06 PM
ebook_copyright 6x9.qxd 12/19/02 4:06 PM Page 1
Copyright © 2002 by The McGraw-HIll Companies, Inc. All rights reserved. Manufactured in the
United States of America. Except as permitted under the United States Copyright Act of 1976, no part
of this publication may be reproduced or distributed in any form or by any means, or stored in a data-
base or retrieval system, without the prior written permission of the publisher.
0-07-222817-2
The material in this eBook also appears in the print version of this title: 0-07-222559-9
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after
every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit
of the trademark owner, with no intention of infringement of the trademark. Where such designations
appear in this book, they have been printed with initial caps.
McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales pro-
motions, or for use in corporate training programs. For more information, please contact George
Hoare, Special Sales, at george_hoare@mcgraw-hill.com or (212) 904-4069.
TERMS OF USE
This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGraw-Hill”) and its licensors
reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted
under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not
decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon,
transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without
McGraw-Hill’s prior consent. You may use the work for your own noncommercial and personal use;
any other use of the work is strictly prohibited. Your right to use the work may be terminated if you
fail to comply with these terms.
THE WORK IS PROVIDED “AS IS”. McGRAW-HILL AND ITS LICENSORS MAKE NO GUAR-
ANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF
OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMA-
TION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE,
AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the func-
tions contained in the work will meet your requirements or that its operation will be uninterrupted or
error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inac-
curacy, error or omission, regardless of cause, in the work or for any damages resulting therefrom.
McGraw-Hill has no responsibility for the content of any information accessed through the work.
Under no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental,
special, punitive, consequential or similar damages that result from the use of or inability to use the
work, even if any of them has been advised of the possibility of such damages. This limitation of lia-
bility shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort
or otherwise.
DOI: 10.1036/0072228172
DOI Page 6x9 10/2/02 1:33 PM Page 1
Contents
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Part I
An Overview of SQL
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
The SQL Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
The Role of SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
SQL Features and Benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Vendor Independence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Portability Across Computer Systems . . . . . . . . . . . . . . . . . . . . . . . 9
SQL Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
IBM Endorsement and Commitment (DB2) . . . . . . . . . . . . . . . . . . 9
Microsoft Commitment (SQL Server, ODBC, and ADO) . . . . . . . 9
Relational Foundation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
High-Level, English-Like Structure . . . . . . . . . . . . . . . . . . . . . . . . . 10
Interactive, Ad Hoc Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Programmatic Database Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Multiple Views of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Complete Database Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Dynamic Data Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Client/Server Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Enterprise Application Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
v
Copyright 2002 by The McGraw-Hill Companies, Inc. Click Here for Terms of Use.
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:06 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:07 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Contents vii
Part II
Retrieving Data
5 SQL Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Table Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Column Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Numeric Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
String Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Date and Time Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Symbolic Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Built-In Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Missing Data (NULL Values) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6 Simple Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
The SELECT Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
The SELECT Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
The FROM Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Query Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Simple Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Calculated Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Selecting All Columns (SELECT *) . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Duplicate Rows (DISTINCT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Row Selection (WHERE Clause) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Search Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
The Comparison Test (=, <>, <, <=, >, >=) . . . . . . . . . . . . . . . . . . . 111
The Range Test (BETWEEN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
The Set Membership Test (IN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
The Pattern Matching Test (LIKE) . . . . . . . . . . . . . . . . . . . . . . . . . . 120
The Null Value Test (IS NULL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Compound Search Conditions (AND, OR, and NOT) . . . . . . . . . . . . 124
Sorting Query Results (ORDER BY Clause) . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Rules for Single-Table Query Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Combining Query Results (UNION) * . . . . . . . . . . . . . . . . . . . . . . . . 131
Unions and Duplicate Rows * . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:07 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:07 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Contents ix
Part III
Updating Data
10 Database Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Adding Data to the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
The Single-Row INSERT Statement . . . . . . . . . . . . . . . . . . . . . . . . . 271
The Multirow INSERT Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Bulk Load Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Deleting Data from the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
The DELETE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Deleting All Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
DELETE with Subquery * . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Modifying Data in the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
The UPDATE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Updating All Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
UPDATE with Subquery * . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
11 Data Integrity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
What Is Data Integrity? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Required Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Simple Validity Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Column Check Constraints (SQL2) . . . . . . . . . . . . . . . . . . . . . . . . . 295
Domains (SQL2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Entity Integrity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Other Uniqueness Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Uniqueness and NULL Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:08 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Part IV
Database Structure
13 Creating a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
The Data Definition Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
Creating a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Table Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
Creating a Table (CREATE TABLE) . . . . . . . . . . . . . . . . . . . . . . . . . 369
Removing a Table (DROP TABLE) . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Changing a Table Definition (ALTER TABLE) . . . . . . . . . . . . . . . . 380
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:08 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Contents xi
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:08 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Part V
Programming with SQL
17 Embedded SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
Programmatic SQL Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
DBMS Statement Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Embedded SQL Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
Developing an Embedded SQL Program . . . . . . . . . . . . . . . . . . . . 496
Running an Embedded SQL Program . . . . . . . . . . . . . . . . . . . . . . . 500
Simple Embedded SQL Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502
Declaring Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
Error Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
Using Host Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
Data Retrieval in Embedded SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
Single-Row Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
Multirow Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
Cursor-Based Deletes and Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
Cursors and Transaction Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
18 Dynamic SQL * . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
Limitations of Static SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
Dynamic SQL Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
Dynamic Statement Execution (EXECUTE IMMEDIATE) . . . . . . . . . . . . . . . . 551
Two-Step Dynamic Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
The PREPARE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
The EXECUTE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
Dynamic Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
The DESCRIBE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
The DECLARE CURSOR Statement . . . . . . . . . . . . . . . . . . . . . . . . . . 574
The Dynamic OPEN Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
The Dynamic FETCH Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
The Dynamic CLOSE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:09 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Contents xiii
Part VI
SQL Today and Tomorrow
20 Database Processing and Stored Procedures . . . . . . . . . . . . . 701
Stored Procedure Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
A Basic Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
Using Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
Creating a Stored Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
Calling a Stored Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:09 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:09 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Contents xv
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:10 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Part VII
Appendixes
A The Sample Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
B Database Vendor Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
A2i, Inc. (www.a2i.com) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
Arbor Software (www.hyperion.com) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
Birdstep Technology (www.birdstep.com) . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
Computer Associates (www.cai.com) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 944
Computer Corporation of America (www.cca-int.com) . . . . . . . . . . . . . . . . 945
Empress Software (www.empress.com) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 946
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:10 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Contents xvii
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:10 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1025
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:11 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
FM:xix
Acknowledgments
pecial thanks to Matan Arazi for once again doing an exceptional job of assembling
S the bonus CD-ROM, pulling off another miracle by squeezing three DBMS products
onto a single CD, and doing so against impossibly tight deadlines.
Thanks also to the team at Osborne, including Jane Brownlow, Jennifer Malnick,
Martin Przybyla, Greg Guntle, and Chrisa Hotchkiss.
xix
Copyright 2002 by The McGraw-Hill Companies, Inc. Click Here for Terms of Use.
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:11 PM
This page intentionally left blank.
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
FM:xxi
Introduction
QL: The Complete Reference, Second Edition provides a comprehensive, in-depth
S treatment of the SQL language for both technical and nontechnical users,
programmers, data processing professionals, and managers who want to
understand the impact of SQL in today’s computer industry. This book offers a
conceptual framework for understanding and using SQL, describes the history of
SQL and SQL standards, and explains the role of SQL in various computer industry
segments, from enterprise data processing to data warehousing to web site architectures.
This new edition contains new chapters specially focused on the role of SQL in
application server architectures, and the integration of SQL with XML and other
object-based technologies.
This book will show you, step-by-step, how to use SQL features, with many
illustrations and realistic examples to clarify SQL concepts. The book also compares
SQL products from leading DBMS vendors—describing their advantages benefits and
trade-offs—to help you select the right product for your application. The accompanying
CD-ROM contains actual trial versions of three of the leading brands of SQL DBMS, plus
instructions on how to download a trial version of a fourth version, so you can try them
for yourself and gain actual experience in using the major DBMS products from Oracle,
Microsoft, and IBM, and the popular open source DBMS MySQL.
xxi
Copyright 2002 by The McGraw-Hill Companies, Inc. Click Here for Terms of Use.
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:11 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
In some of the chapters, the subject matter is explored at two different levels—a
fundamental description of the topic, and an advanced discussion intended for computer
professionals who need to understand some of the internals behind SQL. The more
advanced information is covered in sections marked with an asterisk (*). You do not
need to read these sections to obtain an understanding of what SQL is and what it does.
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:11 PM
Color profile: Generic CMYK printer profile
Composite Default screen Complete Reference / SQL: TCR / Groff, Weinberg / 222559-9 / Front Matter
Introduction xxiii
P:\010Comp\CompRef8\559-9\fm.vp
Friday, July 26, 2002 2:25:12 PM
Random documents with unrelated
content Scribd suggests to you:
credit card donations. To donate, please visit:
www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.