Oracle PL/SQL Best Practices: Write the Best PL/SQL Code of Your Life

Front Cover
"O'Reilly Media, Inc.", Oct 22, 2007 - Computers - 294 pages
6 Reviews

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 bestselling Oracle 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 Practices summarizes 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

What people are saying - Write a review

User ratings

5 stars
4 stars
3 stars
2 stars
1 star

User Review - Flag as inappropriate

Ya it is really Good Practices book
-- Dronadula Dasaradha (Kavali)

User Review - Flag as inappropriate

Great book. Have read it many times over; still don't feel bored. Gives you the best practices in the form which I find very similar to Moral Science textbooks I have read back at my childhood age :-)


The Big Picture
Real Developers Follow Standards
Life After Compilation
Whats Code Without Variables?
Developer As Traffic Cop
Doing the Right Thing When Stuff Goes Wrong
Playing with Blocks of Code
My Code Runs Faster Than Your Code
A Best Practices Quick Reference

Common terms and phrases

Popular passages

Page 28 - Code review involves having other developers actually read and review your source code. This review process can take many different forms, including: The buddy system Each programmer is assigned another programmer to be ready at any time to look at his buddy's code and to offer feedback. On a regular basis (and certainly as a "gate...
Page 29 - To make this process work, the development manager or team leader must take the initiative to set up the code review process and must give developers the time (and training) to do it right.
Page 29 - The architecture of the application tends to be sounder, and the number of bugs in production code goes way down. A further advantage is that expertise on the development team is more broadly and evenly spread, as everyone learns from everyone else.
Page 29 - It uses a question-and-answer format to show you exactly how to implement reviews for all sorts of product and software development. Extreme Programming Explained (Addison-Wesley) This first book on Extreme Programming, by Kent Beck, offers many insights into pair programming.

Bibliographic information