Home > Store

Oracle DBA SQL Quick Reference

Register your product to gain access to bonus material or receive a coupon.

Oracle DBA SQL Quick Reference

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2003
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-140303-6
  • ISBN-13: 978-0-13-140303-1

  • The Oracle SQL every DBA needs—fast and easy!
  • Covers all the core day-to-day tasks DBAs are responsible for
  • Quick access to SQL commands, operators, functions, data dictionary views, and more
  • Includes dozens of easy-to-understand syntax diagrams

The fast, practical Oracle SQL reference for every Oracle DBA!

If you're a working Oracle DBA, here's the Oracle SQL reference you've been searching for—simple, straightforward, and incredibly easy to use! There's no faster way to discover the exact syntax you need...refresh your memory about that option you haven't used lately...find the name of that view you know exists...start using that new Oracle 9i feature you haven't tried yet. Keep it by your desk, near your server...wherever you need fast, reliable answers right this minute!
  • Covers Oracle SQL through Oracle9i Release 2
  • Clear, well-organized tables of operators, functions, format models, privileges, and reserved words
  • Complete command reference: syntax and options for every Oracle SQL command
  • Standard "railroad" syntax diagrams make it easy to write correct syntax
  • Handy listings of data dictionary views and dynamic performance tables

Sample Content

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents



Introduction.


How To Use This Book.


Talk To Us.


Acknowledgments.


1. Programmatic and General Reference.

Operators. Arithmetic Operators. Logical Operators. Comparison Operators. Select Operators. Precedence. Functions. Single Row Functions. Aggregate Functions. Analytical Functions. Object Reference Functions. Format models. Date Format Models. Date Prefixes and Suffixes. Number Format Models. Reserved Words. Privileges. System Privileges. Object Privileges.



2. SQL Command Reference.

Alter. Alter Cluster. Alter Database. Alter Dimension. Alter Function. Alter Index. Alter Indextype. Alter Java. Alter Materialized View. Alter Materialized View Log. Alter Operator. Alter Outline. Alter Package. Alter Procedure. Alter Profile. Alter Resource Cost. Alter Role. Alter Rollback Segment. Alter Sequence. Alter Session. Alter System. Alter Table. Alter Tablespace. Alter Trigger. Alter Type. Alter User. Alter View. Analyze. Associate Statistics. Audit. Call. Comment. Commit. Create. Create Cluster. Create Context. Create Controlfile Create Database. Create Database Link. Create Dimension. Create Directory. Create Function. Create Index. Create Indextype. Create Java. Create Library. Create Materialized View. Create Materialized View Log. Create Operator. Create Outline. Create Package. Create Package Body. Create pfile. Create Procedure. Create Profile. Create Role. Create Rollback Segment. Create Schema. Create Sequence. Create spfile. Create Synonym. Create Table. Create Tablespace. Create Temporary Tablespace. Create Trigger. Create Type. Create Type Body. Create User. Create View. Delete. Disassociate Statistics. Drop. Explain Plan. Grant. Insert. Lock Table. Merge. Noaudit. Rename. Revoke. Rollback. Savepoint. Select. Set Constraint[s]. Set Role. Set Transaction. Truncate. Update. Common. Allocate extent. Constraints. Deallocate Unused. File Specification. Logging. Parallel. Physical Attributes. Storage.



3. Special Views and Tables.

Data Dictionary Views. Dynamic Tables.

Preface

Introduction

The Oracle database and the Structured Query Language (SQL) that it supports are complex and ever changing products that have grown increasingly complex and powerful over the years. This book is not an attempt to teach the new Database Administrator (DBA) everything she or he needs to know about how to administer an Oracle database. That would be an interesting book challenge, but not the one we wanted to tackle. Instead, we wrote the book we've both been wishing we had, but couldn't find anywhere. A simple reference to the Oracle version of SQL and some of the critical tables and views that the practicing Oracle DBA needs every day. This is a purely syntax reference, a quick way to get a reminder of what options a command takes and the exact syntax required.

Most Oracle DBAs spend probably 90% of their time doing less than 5% of the tasks possible with an Oracle database. They neither need nor want a book to give them the syntax for those commands they use every day. But for the commands they may only use once every six months or so, a little quick reminder can be helpful. And that's the purpose and intent of this book—to give the working DBA a little book that they can keep on their desktop or next to the server where they can quickly look up the syntax for the command they need, or find the right name for the view they know exists, but haven't had to use since the last time there was a problem.

As Oracle has grown from our first days with Oracle 6 to the complexity and power of Oracle 9i, the number of new commands, and options and modifiers to the old ones, has grown enormously. If you're like us, you know there are new options and ways to do things, but often need a quick reminder of the syntax or options available. We hope you'll find this book a useful tool for that.

How To Use This Book

This book is divided up into three basic sections:

  • Chapter 1—covers the operators and functions recognized by Oracle SQL, as well as the format models, privileges and reserved words, organized into easy to read tables and grouped by the type of function, operator, privilege, or format model involved.
  • Chapter 2—is a complete SQL command reference, showing the syntax and options for every Oracle SQL command supported by Oracle 9.2 from ALTER CLUSTER to UPDATE, in alphabetical order. We have used standard "railroad" syntax diagrams to make it easy to follow the options and syntax required.
  • Chapter 3—is a listing of the data dictionary views that are a part of every DBA's life, and the dynamic performance tables that provide a wealth of information about what is happening inside the database. In the interest of keeping to our design goal of making this a short, easy-to-use and quick reference, we stuck to a simple listing of the tables and views here. The names make it pretty clear what each covers, and as working DBAs we've found that's really all we need. Once we know the name, a simple DESCRIBE will get the rest.

A note on the syntax diagrams in Chapter 2. Certain clauses show up across a wide range of commands with no change in the syntax or options they support. In order to keep the diagrams as simple as possible, we have grouped those clauses at the end of the chapter under "Common." The clauses covered there are:

  • Allocate Extent
  • Constraints
  • Deallocate Unused
  • File Specification
  • Logging
  • Parallel
  • Physical Attributes
  • Storage

Within each command, we have broken out the syntax for the less common clauses immediately following the main command. This enables a simpler and more readable diagram while providing full information. We have underlined the names of subordinate clauses in the diagrams to make it clear that you need to break out of the main diagram for the syntax to that clause.

Talk To Us

We have made every attempt in this short volume to provide as complete a reference as we could, always with the goal of keeping it quick and easy to find the information you need. Our goal was to give the working Oracle DBA a tool that would make them more productive and we sincerely hope you find it useful. Every effort has been made to be both complete and accurate. If you do find an error or omission or have any comment on the book, we very much want to hear from you. Please write us at: SQLReference@Scribes.com. We don't promise to answer every question or comment, but we do read them and very much appreciate them.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.