Oracle PL/SQL Best Practices

  • ISBN13:


  • ISBN10:


  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2007-10-01
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $29.99 Save up to $4.50
  • Buy New


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The eBook copy of this book is not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


In this compact book, Steven Feuerstein, widely recognized as one of the world's leading experts on the Oracle PL/SQL language, distills his many years of programming, teaching, and writing about PL/SQL into a set of best practices-recommendations for developing successful applications. Covering the latest Oracle release, Oracle Database 11gR2, Feuerstein has rewritten this new edition in the style of his bestsellingOracle PL/SQL Programming. The text is organized in a problem/solution format, and chronicles the programming exploits of developers at a mythical company called My Flimsy Excuse, Inc., as they write code, make mistakes, and learn from those mistakes-and each other. This book offers practical answers to some of the hardest questions faced by PL/SQL developers, including: What is the best way to write the SQL logic in my application code? How should I write my packages so they can be leveraged by my entire team of developers? How can I make sure that all my team's programs handle and record errors consistently? Oracle PL/SQL Best Practicessummarizes PL/SQL best practices in nine major categories: overall PL/SQL application development; programming standards; program testing, tracing, and debugging; variables and data structures; control logic; error handling; the use of SQL in PL/SQL; building procedures, functions, packages, and triggers; and overall program performance. This book is a concise and entertaining guide that PL/SQL developers will turn to again and again as they seek out ways to write higher quality code and more successful applications. "This book presents ideas that make the difference between a successful project and one that never gets off the ground. It goes beyond just listing a set of rules, and provides realistic scenarios that help the reader understand where the rules come from. This book should be required reading for any team of Oracle database professionals." --Dwayne King, President, KRIDAN Consulting

Author Biography

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.

Table of Contents

Prefacep. ix
The Big Picturep. 1
Successful Applications Are Never an Accidentp. 2
Best Practices for Successful Applicationsp. 5
Real Developers Follow Standardsp. 37
Best Practices for Developing and Using Standardsp. 38
Life After Compilationp. 51
Testing, Tracing, and Debuggingp. 52
Best Practices for Testing, Tracing, and Debuggingp. 53
What's Code Without Variables?p. 73
Best Practices for Declaring Variables and Data Structuresp. 73
Best Practices for Using Variables and Data Structuresp. 81
Best Practices for Declaring and Using Package Variablesp. 88
Developer As Traffic Copp. 95
Best Practices for Conditional and Boolean Logicp. 95
Best Practices for Loop Processingp. 101
Best Practices for Branching Logicp. 111
Doing the Right Thing When Stuff Goes Wrongp. 114
Best Practices for Understanding Error Handlingp. 115
Best Practices for Nitty-Gritty, Everyday Exception Programmingp. 131
Best Practices for Coding Defensivelyp. 135
Break Your Addiction to SQLp. 140
SQL Is Bad!p. 141
General SQL Best Practicesp. 144
Best Practices for Querying Data from PL/SQLp. 158
Best Practices for Changing Data from PL/SQLp. 163
Best Practices for Dynamic SQLp. 168
Playing with Blocks (of Code)p. 179
Best Practices for Parametersp. 180
Best Practices for Procedures and Functionsp. 186
Best Practices for Packagesp. 205
Best Practices for Triggersp. 211
My Code Runs Faster Than Your Codep. 218
Best Practices for Finding Slow Codep. 219
Best Practices for High-Impact Tuningp. 225
Best Practices for Other Tuningp. 240
Best Practices Quick Referencep. 247
Resources for PL/SQL Developersp. 252
Indexp. 259
Table of Contents provided by Ingram. All Rights Reserved.

Rewards Program

Write a Review