Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-02 |
|
|
View PDF |
This reference contains a complete description of the Structured Query Language (SQL) used to manage information in an Oracle database. Oracle SQL is a superset of the American National Standards Institute (ANSI) and the International Standards Organization (ISO) SQL99 standard.
This preface contains these topics:
The Oracle9i SQL Reference is intended for all users of Oracle SQL.
This reference is divided into the following parts:
This chapter describes SQL conditions.
The following frequently used DDL clauses have been separated into their own chapter, Chapter 7, "Common SQL DDL Clauses": allocate_extent_clause
, constraints
, deallocate_unused_clause
, file_specification
, logging_clause
, parallel_clause
, physical_attributes_clause
, storage_clause
.
In earlier releases, the autoextend_clause
appeared in a number of SQL statements. It now is documented as part of the datafile_tempfile_spec
form of file_specification
, to clarify that this attribute relates to datafiles and tempfiles.
The chapter that formerly described expressions, conditions, and queries has been divided. Conditions and expressions are now two separate chapters, and queries are described in Chapter 8, "SQL Queries and Subqueries".
CAST
, DECODE
, and EXTRACT
(datetime), which were formerly documented as forms of expression, are now documented as SQL built-in functions.
LIKE
and the elements formerly called "comparison operators" and "logical operators" are now documented as SQL conditions.
The chapters containing all SQL statements (formerly Chapters 7 through 10) have been divided into ten chapters for printing purposes.
For more information, see these Oracle resources:
Many of the examples in this book use the sample schemas of the seed database, which is installed by default when you install Oracle. Refer to Oracle9i Sample Schemas for information on how these schemas were created and how you can use them yourself.
In North America, printed documentation is available for sale in the Oracle Store at
http://oraclestore.oracle.com/
Customers in Europe, the Middle East, and Africa (EMEA) can purchase documentation from
http://www.oraclebookshop.com/
Other customers can contact their Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, please visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
http://otn.oracle.com/admin/account/membership.html
If you already have a username and password for OTN, then you can go directly to the documentation section of the OTN Web site at
http://otn.oracle.com/docs/index.htm
To access the database documentation search engine directly, please visit
http://tahiti.oracle.com
This section describes the conventions used in the text and code examples of this documentation set. It describes:
We use various conventions in text to help you more quickly identify special terms. The following table describes those conventions and provides examples of their use.
Code examples illustrate SQL, PL/SQL, SQL*Plus, or other command-line statements. They are displayed in a monospace (fixed-width) font and separated from normal text as shown in this example:
SELECT username FROM dba_users WHERE username = 'MIGRATE';
The following table describes typographic conventions used in code examples and provides examples of their use.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at
http://www.oracle.com/accessibility/
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle Corporation does not own or control. Oracle Corporation neither evaluates nor makes any representations regarding the accessibility of these Web sites.