Term Fly Presents
http://www.flyheart.com
Oracle PL/SQL Best Practices By Steven Feuerstein Publisher
: O'Reilly
Pub Date
: April 2001
ISBN
: 0-596-00121-5
Pages
: 202
Oracle PL/SQL Best Practices is a concise, easy-to-use summary of best practices in the program development process. It covers coding style, writing SQL in PL/SQL, data structures, control structures, exception handling, program and package construction, and built-in packages. Complementary code examples are available on the O'Reilly web site. Includes a pull-out quick-reference card.
Preface When I first started writing about the Oracle PL/SQL language back in 1994, the only sources of information were the product documentation (such as it was) and the occasional paper and presentation at Oracle User Group events. Today, there are at least a dozen books that focus exclusively on PL/SQL, numerous products that help you write PL/SQL code (integrated development environments, knowledge bases, etc.), training classes, and web sites. And the community of PL/SQL developers continues to grow in size and maturity, even with the advent of Java. Access to information about PL/SQL is no longer the challenge. It can, on the other hand, be difficult to make sense of all the new features, the numerous resources, the choices for tools, and so on. When it comes to writing a program or an entire application, developers have, over and over again, expressed the desire for advice. They ask: • • • • •
How should I format my code? What naming conventions, if any, should I use? How can I write my packages so that they can be more easily maintained? What is the best way to query information from the database? How can I get all the developers on my team to handle errors the same way?
So many questions, so much burning desire to write code well, and so few resources available to help us do that. So I decided to write a book that offers a concentrated set of "best practices" for the Oracle PL/SQL language. The objective of this book is to provide concrete,
1