Please consider the latest edition.
-
Programming in PL/SQL
-
Chapter 1 Introduction to PL/SQL
- What Is PL/SQL?
- The Origins of PL/SQL
- So This Is PL/SQL
- About PL/SQL Versions
- Resources for PL/SQL Developers
- Some Words of Advice
-
Chapter 2 Creating and Running PL/SQL Code
- SQL*Plus
- Performing Essential PL/SQL Tasks
- Calling PL/SQL from Other Languages
-
Chapter 3 Language Fundamentals
- PL/SQL Block Structure
- The PL/SQL Character Set
- Identifiers
- Literals
- The Semicolon Delimiter
- Comments
- The PRAGMA Keyword
- Labels
-
-
PL/SQL Program Structure
-
Chapter 4 Conditional and Sequential Control
- IF Statements
- CASE Statements and Expressions
- The GOTO Statement
- The NULL Statement
-
Chapter 5 Iterative Processing with Loops
- Loop Basics
- The Simple Loop
- The WHILE Loop
- The Numeric FOR Loop
- The Cursor FOR Loop
- Loop Labels
- Tips for Iterative Processing
-
Chapter 6 Exception Handlers
- Exception-Handling Concepts and Terminology
- Defining Exceptions
- Raising Exceptions
- Handling Exceptions
- Building an Effective Error Management Architecture
- Making the Most of PL/SQL Error Management
-
-
PL/SQL Program Data
-
Chapter 7 Working with Program Data
- Naming Your Program Data
- Overview of PL/SQL Datatypes
- Declaring Program Data
- Programmer-Defined Subtypes
- Conversion Between Datatypes
-
Chapter 8 Strings
- String Datatypes
- Working with Strings
- String Function Quick Reference
-
Chapter 9 Numbers
- Numeric Datatypes
- Number Conversions
- Numeric Functions
-
Chapter 10 Dates and Timestamps
- Datetime Datatypes
- Getting the Date and Time
- Interval Datatypes
- Datetime Conversions
- Date and Timestamp Literals
- Interval Conversions
- Interval Literals
- CAST and EXTRACT
- Datetime Arithmetic
- Date/Time Functions
-
Chapter 11 Records
- Records in PL/SQL
-
Chapter 12 Collections
- Collections Overview
- Collection Methods (Built-Ins)
- Working with Collections
- Nested Table Multiset Operations
- Maintaining Schema-Level Collections
-
Chapter 13 Miscellaneous Datatypes
- The BOOLEAN Datatype
- The RAW Datatype
- The UROWID and ROWID Datatypes
- The LOB Datatypes
- Working with LOBs
- Predefined Object Types
-
-
SQL in PL/SQL
-
Chapter 14 DML and Transaction Management
- DML in PL/SQL
- Bulk DML with the FORALL Statement
- Transaction Management
- Autonomous Transactions
-
Chapter 15 Data Retrieval
- Cursor Basics
- Working with Implicit Cursors
- Working with Explicit Cursors
- BULK COLLECT
- SELECT ... FOR UPDATE
- Cursor Variables and REF CURSORs
- Cursor Expressions
-
Chapter 16 Dynamic SQL and Dynamic PL/SQL
- NDS Statements
- Binding Variables
- Working with Objects and Collections
- Dynamic PL/SQL
- Recommendations for NDS
- When to Use DBMS_SQL
- NDS Utility Package
-
-
PL/SQL Application Construction
-
Chapter 17 Procedures, Functions, and Parameters
- Modular Code
- Procedures
- Functions
- Parameters
- Local Modules
- Module Overloading
- Forward Declarations
- Advanced Topics
- Go Forth and Modularize!
-
Chapter 18 Packages
- Why Packages?
- Rules for Building Packages
- Rules for Calling Packaged Elements
- Working with Package Data
- When to Use Packages
- Packages and Object Types
-
Chapter 19 Triggers
- DML Triggers
- DDL Triggers
- Database Event Triggers
- INSTEAD OF Triggers
- AFTER SUSPEND Triggers
- Maintaining Triggers
-
Chapter 20 Managing PL/SQL Code
- Managing Code in the Database
- Using Native Compilation
- Using the Optimizing Compiler and Compile-Time Warnings
- Conditional Compilation
- Testing PL/SQL Programs
- Debugging PL/SQL Programs
- Tuning PL/SQL Programs
- Protecting Stored Code
-
Chapter 21 I/O and PL/SQL
- Displaying Information
- Reading and Writing Files
- Sending Email
- Working with Web-Based Data (HTTP)
- Other Types of I/O Available in PL/SQL
-
-
Advanced PL/SQL Topics
-
Chapter 22 Application Security and PL/SQL
- Security Overview
- Encryption
- Row-Level Security
- Application Contexts
- Fine-Grained Auditing
-
Chapter 23 Inside PL/SQL
- Looking Under the Hood
- PL/SQL's Optimizing Compiler
- Dependency Management
- Execution Authority Models
- PL/SQL and Oracle Memory
- Server-Side PL/SQL Processing: Reprise
- What You Need to Know
-
Chapter 24 Globalization and Localization in PL/SQL
- Overview and Terminology
- Unicode Primer
- Character Semantics
- String Sort Order
- Multilingual Information Retrieval
- Date/Time
- Currency Conversion
- Globalization Development Kit for PL/SQL
-
Chapter 25 Object-Oriented Aspects of PL/SQL
- Introduction to Oracle's Object Features
- An Extended Example
- Object Views
- Maintaining Object Types and Object Views
- Pontifications
-
Chapter 26 Calling Java from PL/SQL
- Oracle and Java
- Getting Ready to Use Java in Oracle
- A Simple Demonstration
- Using loadjava
- Using dropjava
- Managing Java in the Database
- Using DBMS_JAVA
- Publishing and Using Java in PL/SQL
-
Chapter 27 External Procedures
- Introduction to External Procedures
- The Oracle Net Configuration
- Setting Up Multithreaded Mode
- Creating an Oracle Library
- Writing the Call Specification
- Raising an Exception from the Called C Program
- Nondefault Agents
- Maintaining External Procedures
-
-
Appendixes
-
Appendix A Regular Expression Metacharacters and Function Parameters
- Metacharacters
- Function Parameters
-
Appendix B Number Format Models
-
Appendix C Date Format Models
-
-
Colophon
- Title:
- Oracle PL/SQL Programming, Fourth Edition
- By:
- Steven Feuerstein, Bill Pribyl
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- August 2005
- Ebook Release:
- February 2009
- Pages:
- 1200
- Print ISBN:
- 978-0-596-00977-9
- | ISBN 10:
- 0-596-00977-1
- Ebook ISBN:
- 978-0-596-10527-3
- | ISBN 10:
- 0-596-10527-4
Ants are featured on the cover of Oracle PL /SQL Programming, Fourth 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.
Mary Anne Weeks Mayo was the production editor and copyeditor for Oracle PL/SQL Programming, Fourth Edition . Matt Hutchinson, Mary Brady, and Marlowe Shaeffer provided quality control. Ellen Troutman Zaig wrote the index.
Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Karen Montgomery produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted to FrameMaker 5.5.6 by Keith Fahlgren 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 LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.
