Oracle PL/SQL Programming, Second EditionCorrections and Amplifications
|
Click here to read about other great Oracle books from O'Reilly & Associates.
New for 1998: The authors are teaching a series of one-day PL/SQL seminars in a city near you!
Check out the PL/SQL
Pipeline, a forum for PL/SQL developers, sponsored by Revealnet.
Did you know...that you
can download from Oracle a free utility for editing PL/SQL source code?
If you're an Emacs user, have a look here.
Visit the International
Oracle Users Group-Americas web site for information about upcoming
Oracle-related events in your area.
The latest scoop on Oracle's web server technology isn't at www.oracle.com, it's at http://www.olab.com/ . |
||
Chapter 6: Database Interaction and CursorsThe text should be changed as follows:
--Posted 15 April 1998
|
|||
Chapter 4: Tips for Creating and Using VariablesOn page 137, the comment within the code segment on this page ends with '*?' instead of '*/'.Thanks again to Kim Heckler. --Posted 15 April 1998
|
|||
Appendix C: Built-In PackagesAppendix C contains inaccurate information about the DBMS_AQ package. Many aspects of Oracle Advanced Queuing changed between final beta and production release of Oracle8. This page contains an up-to-date summary of Oracle AQ and documentation of the packaged program headers. --Posted 5 Feb 1998
|
|||
Chapter 8: Exception HandlersOn page 265, the source code for the delete_company procedure contains the declaration of a variable that is not used in the body. Delete the following line from the code:
On page 268, in a discussion of what happens when you call RAISE_APPLICATION_ERROR, the text states that Execution of the current PL/SQL block halts immediately, and all effects of the program are rolled back. The following text is a more accurate description of what really happens:
--Posted 5 Feb 1998
|
|||
Chapter 18 & Chapter 19SynonymsOn page 614 and page 688, a sidebar states that synonyms are disallowed for user-defined types. While that was true in a pre-release version of Oracle8, it is not true in the production release (8.0.3 and later).
--Posted 28 Jan 98
|
|||
Chapter 7: LoopsOn page 220, in a paragraph regarding the use of the keyword REVERSE, the second sentence should be revised as follows:
--Posted 15 April 98
On page 231, there is a discussion of "Scope with labels" which unfortunately uses a WHILE loop as the outer loop as the outer loop (instead of a FOR loop). This causes most of the text surrounding the example to be incorrect. <<year_loop>>should read: <<year_loop>>Thanks to Richard Bolz for catching this one! --Posted 22 Dec 97
|
|||
Chapter 18: Object TypesOn pages 641-2, in Table 18-4, the SQL WHERE clauses have incorrect capitalization of the literal string for the Foo_t user-defined type name. All user-defined type names are, by default, stored in upper case in the data dictionary. That is, instead of:WHERE type_name = 'FOO_t' --wrong...the text should in fact read: WHERE type_name = 'FOO_T' Also on page 641, in Table 18-4, the last row at the bottom of the page refers to a column in user_tables that existed in Oracle 8.0.2 but is not present in 8.0.3. SELECT table_nameIn fact, Oracle removed all "object tables" -- that is, tables which are defined on object types -- from the user_tables view. A new data dictionary view, user_object_tables, contains information about object tables. So the query we were attempting should be expressed as follows: SELECT table_name --Posted 30 Oct 97
|
|||
Chapter 5: Conditional and Sequential ControlOn page 144, the IF-ELSIF example at the bottom of the page has two typographical errors. First is an extraneous parenthesis; also, the OR in the second ELSIF should be an AND.IFA big thank-you goes to Arthur Volbert for catching this error! --Posted 8 Oct 97
|
|||
Chapter 19: Nested Tables and VARRAYsOn page 674, the example of MULTISET is missing a closing parenthesis (show below in red):SELECT CAST (MULTISET (SELECT field FROM table) AS collection-type) --Posted 2 Oct 97
|
|||
Last Modified 15 April 1998 |