Buying Options
Oracle PL/SQL Programming, Third Edition
This product is no longer available.

Please consider the latest edition.

Product Editions

  1. Oracle PL/SQL Programming, Fifth Edition - September 2009
  2. Oracle PL/SQL Programming, Fourth Edition - August 2005
  3. Oracle PL/SQL Programming, Third Edition - September 2002 (out of print)
  4. Oracle PL/SQL Programming, Second Edition - September 1997 (out of print)
  5. Oracle PL/SQL Programming - September 1993 (out of print)
Description
Nearly a quarter-million PL/SQL programmers--novices and experienced developers alike--have found the first and second editions of Oracle PL/SQL Programming to be indispensable references to this powerful language. Packed with examples and recommendations, this book has helped everyone, from Oracle Forms developers to database administrators, make the most of PL/SQL. Authored by renowned PL/SQL experts Steven Feuerstein and Bill Pribyl, this new edition is a comprehensive update of the original book, covering all versions of PL/SQL through Oracle9i Release 2. It adds much-requested new chapters on how to create and run PL/SQL programs, call Java methods from within PL/SQL, and define and use database triggers. An extensive new chapter---designed especially for experienced PL/SQL developers--describes PL/SQL's runtime architecture and how to use knowledge of Oracle internals to get the best performance from PL/SQL. Regardless of the version you are using, from Oracle 7.3.4 to Oracle 9i, this book will answer your questions.
Full Description
Table of Contents
  1. Programming in PL/SQL

    1. Chapter 1 Introduction to PL/SQL

      1. What Is PL/SQL?
      2. The Origins of PL/SQL
      3. So This Is PL/SQL
      4. About PL/SQL Versions
      5. Resources for PL/SQL Developers
      6. Some Words of Advice
    2. Chapter 2 Creating and Running PL/SQL Code

      1. SQL*Plus
      2. Performing Essential PL/SQL Tasks
      3. Oracle's PL/SQL-Based Developer Tools
      4. Calling PL/SQL from Other Languages
      5. And What Else?
    3. Chapter 3 Language Fundamentals

      1. PL/SQL Block Structure
      2. The PL/SQL Character Set
      3. Identifiers
      4. Literals
      5. The Semicolon Delimiter
      6. Comments
      7. The PRAGMA Keyword
      8. Labels
  2. PL/SQL Program Structure

    1. Chapter 4 Conditional and Sequential Control

      1. IF Statements
      2. CASE Statements
      3. The GOTO Statement
      4. The NULL Statement
    2. Chapter 5 Iterative Processing with Loops

      1. Loop Basics
      2. The Simple Loop
      3. The WHILE Loop
      4. The Numeric FOR Loop
      5. The Cursor FOR Loop
      6. Loop Labels
      7. Tips for Iterative Processing
    3. Chapter 6 Exception Handlers

      1. How PL/SQL Deals with Errors
      2. Defining Exceptions
      3. Raising Exceptions
      4. Handling Exceptions
  3. PL/SQL Program Data

    1. Chapter 7 Working with Program Data

      1. Naming Your Program Data
      2. Overview of PL/SQL Datatypes
      3. Declaring Program Data
      4. Programmer-Defined Subtypes
      5. Conversion Between Datatypes
    2. Chapter 8 Strings

      1. The Impact of Character Sets
      2. String Datatypes
      3. String Issues
      4. String Functions
      5. NLS Functions
    3. Chapter 9 Numbers

      1. Numeric Datatypes
      2. Number Conversions
      3. Numeric Functions
    4. Chapter 10 Dates and Timestamps

      1. Date and Time Datatypes
      2. Date and Timestamp Conversions
      3. Date/Time Arithmetic
      4. Date/Time Functions
    5. Chapter 11 Records and Collections

      1. Records in PL/SQL
      2. Collections in PL/SQL
      3. Declaring Collection Types and Collections
      4. Where Collections Can Be Used
      5. Collection Built-Ins (Methods)
      6. Working with Collections
      7. Collection Pseudo-Functions
      8. Maintaining Collections
      9. Choosing a Collection Type
    6. Chapter 12 Miscellaneous Datatypes

      1. The BOOLEAN Datatype
      2. The RAW Datatype
      3. The UROWID and ROWID Datatypes
      4. The LOB Datatypes
      5. Working with LOBs
      6. Predefined Object Types
  4. SQL in PL/SQL

    1. Chapter 13 DML and Transaction Management

      1. DML in PL/SQL
      2. Bulk DML with the FORALL Statement
      3. Transaction Management
      4. Autonomous Transactions
    2. Chapter 14 Data Retrieval

      1. Cursor Basics
      2. Working with Implicit Cursors
      3. Working with Explicit Cursors
      4. BULK COLLECT
      5. SELECT...FOR UPDATE
      6. Cursor Variables
      7. Cursor Expressions (Oracle9i)
    3. Chapter 15 Dynamic SQL and Dynamic PL/SQL

      1. NDS Statements
      2. Multirow Queries with Cursor Variables
      3. Binding Variables
      4. Working with Objects and Collections
      5. Building Applications with NDS
      6. NDS Utility Package
      7. Comparing NDS and DBMS_SQL
  5. PL/SQL Application Construction

    1. Chapter 16 Procedures, Functions,and Parameters

      1. Modular Code
      2. Procedures
      3. Functions
      4. Parameters
      5. Local Modules
      6. Module Overloading
      7. Forward Declarations
      8. Advanced Topics
      9. Go Forth and Modularize!
    2. Chapter 17 Packages

      1. Why Packages?
      2. Rules for Building Packages
      3. Rules for Calling Packaged Elements
      4. Working with Package Data
      5. When to Use Packages
      6. Packages and Object Types
    3. Chapter 18 Triggers

      1. DML Triggers
      2. DDL Triggers
      3. Database Event Triggers
      4. INSTEAD OF Triggers
      5. AFTER SUSPEND Triggers
      6. Maintaining Triggers
    4. Chapter 19 Managing PL/SQL Applications

      1. Managing and Analyzing Code in the Database
      2. Protecting Stored Code
      3. Using Native Compilation
      4. Testing PL/SQL Programs
      5. Debugging PL/SQL Programs
      6. Tuning PL/SQL Programs
      7. Improving Application Performance
  6. Advanced PL/SQL Topics

    1. Chapter 20 PL/SQL's Runtime Architecture

      1. Looking Under the Hood
      2. Dependency Management
      3. PL/SQL's Use of Memory in the Oracle Server
      4. The Processing of Server-Side PL/SQL
      5. PL/SQL Code on the Client
      6. Execution Authority Models
      7. Hardware for PL/SQL: Bigger = Better?
      8. What You Need to Know
    2. Chapter 21 Object-Oriented Aspects of PL/SQL

      1. Introduction to Oracle's Object Features
      2. An Extended Example
      3. Object Views
      4. Maintaining Object Types and Object Views
      5. Pontifications
    3. Chapter 22 Calling Java from PL/SQL

      1. Oracle and Java
      2. Getting Ready to Use Java in Oracle
      3. A Simple Demonstration
      4. Using loadjava
      5. Using dropjava
      6. Managing Java in the Database
      7. Using DBMS_ JAVA
      8. Publishing and Using Java in PL/SQL
    4. Chapter 23 External Procedures

      1. Introduction to External Procedures
      2. The Oracle Net Configuration
      3. Creating an Oracle Library
      4. Writing the Call Specification
      5. Raising an Exception from the Called C Program
      6. Nondefault Agents
      7. Maintaining External Procedures
  1. Colophon

View Full Table of Contents
Product Details
Title:
Oracle PL/SQL Programming, Third Edition
By:
Steven Feuerstein, Bill Pribyl
Publisher:
O'Reilly Media
Formats:
  • Print
Print Release:
September 2002
Pages:
1024
Print ISBN:
978-0-596-00381-4
| ISBN 10:
0-596-00381-1
Customer Reviews
About the Authors
  1. Steven Feuerstein

    Steven Feuerstein is considered one of the world's leading experts on the Oracle PL/SQL language. He is the author or coauthor of Oracle PL/SQL Programming, Oracle PL/SQL Best Practices, Oracle PL/SQL Programming: Guide to Oracle8i Features, Oracle PL/SQL Developer's Workbook, Oracle Built-in Packages, Advanced Oracle PL/SQL Programming with Packages, and several pocket reference books (all from O'Reilly & Associates). Steven is a Senior Technology Advisor with Quest Software, has been developing software since 1980, and worked for Oracle Corporation from 1987 to 1992.

    View Steven Feuerstein's full profile page.

  2. Bill Pribyl

    Bill Pribyl, author, teacher, and software consultant,is the primary author of Learning Oracle PL/SQL and the coauthor of Oracle PL/SQL Programming and its companion pocket reference, all published by O'Reilly & Associates. An Oracle user since 1986, Bill has consulted on many aspects of using Oracle products. He recently spearheaded PLNet.org, a Web-based repository where developers can share open source PL/SQL.

    View Bill Pribyl's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. Ants are featured on the cover of Oracle PL/SQL Programming, Third Edition. At least 8,000 different species of ants can be found everywhere on Earth except the North and South Poles. Ants preserved in amber suggest that these insects existed 50 million years before humans.

Humans have long been fascinated by ants, because these tiny insects are accomplished builders, nurses, miners, and even farmers. Fables such as "The Ant and the Grasshopper" extol the virtues of hardworking, forward-looking ants. (Hail ants!) It is true that individual ants are able to perform amazing feats: an ant can carry up to 50 times its body weight, can travel the human equivalent of 40 miles a day, and can climb vertical heights the equivalent of Mount Everest. However, the greatest accomplishments of ants are those performed together for the good of their community.

Queen ants establish new communities, or nests, after their mating flight. On this flight the queen mates with several males. After mating, the males fall to Earth and die. The queen then finds an uninhabited nest, settles into it, and pulls her wings off. She will never fly again, and after removing her wings she is able to absorb the wing muscles as nutrients for her eggs. She will continue to lay eggs, thousands of them, for years.

During the three-stage development process, which takes about two months, the eggs, larvae, and pupae are cared for by the nurse ants, who feed, clean, and carefully move the young to warmer or cooler places in the nest, depending on the temperature. These nurse ants are, in turn, cared for by other worker ants, who feed the nurses with regurgitated food. The workers and the nurses will fight together to defend the young against enemies if the nest is invaded, either by another group of ants or by a larger animal. Emily Quill was the production editor and copyeditor for Oracle PL/SQL Programming, Third Edition. Mary Anne Mayo, Sheryl Avruch, Matt Hutchinson, and Jane Ellin provided quality control. Phil Dangler, Derek DiMatteo, and Kimo Carter provided production assistance. Ellen Troutman wrote the index.

Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is Lucas-Font's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.

  • Book cover of Oracle PL/SQL Programming