Oracle8i - The complete reference.pdf
(
17766 KB
)
Pobierz
Oracle8i: The Complete Reference
Oracle8
i
:
The Complete
Reference
Kevin Loney
George Koch
Osborne/
McGraw-Hill
Berkeley New York St. Louis San Francisco
Auckland Bogotá Hamburg London Madrid
Mexico City Milan Montreal New Delhi Panama City
Paris São Paulo Singapore Sydney Tokyo Toronto
Osborne/
McGraw-Hill
2600 Tenth Street
Berkeley, California 94710
U.S.A.
For information on translations or book distributors outside the U.S.A., or to arrange
bulk purchase discounts for sales promotions, premiums, or fund-raisers, please
contact Osborne/
McGraw-Hill
at the above address.
Oracle8i: The Complete Reference
Copyright © 2000 by The McGraw-Hill Companies, Inc. (Publisher). All rights
reserved. Printed in the United States of America. Except as permitted under the
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 database or retrieval system, without the
prior written permission of Publisher.
Oracle is a registered trademark and Oracle8iis a trademark or registered trademark
of Oracle Corporation.
1234567890 DOC DOC 019876543210
Book P/N 0-07-212362-1 and CD P/N 0-07-212363-X
parts of
ISBN 0-07-212364-8
Publisher
Brandon A. Nordin
Proofreader
Mike McGee
Associate Publisher and
Editor-in-Chief
Scott Rogers
Acquisitions Editor
Jeremy Judson
Project Editor
Janet Walden
Acquisitions Coordinator
Monika Faltiss
Technical Editor
Leslie Tierstein
Copy Editor
William McManus
Indexer
David Heiret
Computer Designer
Jani Beckwith
Michelle Galicia
Roberta Steele
Illustrator
Michael Mueller
Beth Young
Series Design
Jani Beckwith
This book was composed with Corel VENTURA™ Publisher.
Information has been obtained by Publisher from sources believed to be reliable. However, because of the possibility
of human or mechanical error by our sources, Publisher, or others, Publisher does not guarantee to the accuracy,
adequacy, or completeness of any information included in this work and is not responsible for any errors or omissions
or the results obtained from the use of such information.
To my parents, and to Sue, Emily, and Rachel
—K.L.
To Elwood Brant, Jr. (Woody), 1949-1990
—G.K.
About the Authors
Kevin Loney, a veteran Oracle developer and DBA, is the author of the
best-selling Oracle8i DBA Handbookand coauthor of Oracle8 Advanced Tuning
and Administrationand Oracle SQL & PL/SQL Annotated Archives. An independent
consultant, he frequently makes presentations at Oracle conferences and contributes
to ORACLE Magazine. He can be found online at http://www.kevinloney.com, and
is the editor for the database-related search engine at http://www.lonyx.com.
George Koch is a leading authority on relational database applications. A
popular speaker and widely published author, he is also the creator of THESIS, the
securities trading, accounting, and portfolio management system that was the first
major commercial applications product in the world to employ a relational database
(Oracle) and provide English language querying to its users. He is a former senior
vice president of Oracle Corporation.
Contents at a Glance
PREFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vii
ACKNOWLEDGMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
x
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xi
PART I
Critical Database Concepts
1
Sharing Knowledge and Success . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
2
The Dangers in a Relational Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
3
The Basic Parts of Speech in SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
4
The Basics of Object-Relational Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
5
Introduction to Web-Enabled Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
PART II
SQL and SQL*PLUS
6
Basic SQLPLUS Reports and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
7
Getting Text Information and Changing It . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
8
Playing the Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
9
Dates: Then, Now, and the Difference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
10
Conversion and Transformation Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
11
Grouping Things Together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
12
When One Query Depends upon Another . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
13
Some Complex Possibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
14
Building a Report in SQLPLUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
15
Changing Data: insert, update, and delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
16
Advanced Use of Functions and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
17
DECODE: Amazing Power in a Single Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
18
Creating, Dropping, and Altering Tables and Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
19
By What Authority? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
20
Changing the Oracle Surroundings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
21
Using SQL*Loader to Load Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
v
Plik z chomika:
dragon8227
Inne pliki z tego folderu:
O'Reilly - Oracle PL-SQL Language Pocket Reference.pdf
(239 KB)
O'Reilly - Oracle - Advanced Programming With Packages.pdf
(2154 KB)
O'Reilly - Building Oracle XML Applications.pdf
(4750 KB)
Oracle8i - The complete reference.pdf
(17766 KB)
Oracle_sql_tutorial.pdf
(313 KB)
Inne foldery tego chomika:
Algorytmy
C++
Excel VBA
pack ADO
SQL , MySQL bazy
Zgłoś jeśli
naruszono regulamin