Oracle PL/SQL best practices

Optimizing Oracle Code

  • Nombre de pages : 182 pages   drapeau anglais
  • Date de parution : 01/04/2001

Résumé

In this book, Steven Feuerstein, widely recognized as one of the world's experts on the Oracle PL/SQL language, distills his many years of programming, writing, and teaching about PL/SQL into a set of PL/SQL language "best practices"--rules for writing code that is readable, maintainable, and efficient. Too often, developers focus on simply writing programs that run without errors--and ignore the impact of poorly written code upon both system performance and their ability (and their colleagues' ability) to maintain that code over time.

Oracle PL/SQL Best Practices is a concise, easy-to-use reference to Feuerstein's recommendations for excellent PL/SQL coding. It answers the kinds of questions PL/SQL developers most frequently ask about their code:

  • How should I format my code?
  • What naming conventions, if any, should I use?
  • How can I write my packages so they can be more easily maintained?
  • What is the most efficient way to query information from the database?
  • How can I get all the developers on my team to handle errors the same way?

The book contains 120 best practices, divided by topic area. It's full of advice on the program development process, coding style, writing SQL in PL/SQL, data structures, control structures, exception handling, program and package construction, and built-in packages. It also contains a handy, pull-out quick reference card. As a helpful supplement to the text, code examples demonstrating each of the best practices are available on the O'Reilly web site.

Oracle PL/SQL Best Practices is intended as a companion to O'Reilly's larger Oracle PL/SQL books. It's a compact, readable reference that you'll turn to again and again--a book that no serious developer can afford to be without.

Contents

Preface

1. The Development Process

2. Coding Style and Conventions

3. Variables and Data Structures
     Declaring Variables and Data Structures
     Using Variables and Data Structures
     Declaring and Using Package Variables

4. Control Structures
     Conditional and Boolean Logic
     Loop Processing
     Miscellaneous

5. Exception Handling
     Raising Exceptions
     Handling Exceptions
     Declaring Exceptions

6. Writing SQL in PL/SQL
     General SQL and Transaction Management
     Querying Data from PL/SQL
     Changing Data from PL/SQL
     Dynamic SQL and Dynamic PL/SQL

7. Program Construction
     Structure and Parameters
     Functions
     Triggers

8. Package Construction

9. Built-in Packages
     DBMS_OUTPUT
     UTL_FILE
     DBMS_PIPE
     DBMS_ JOB

A. Best Practices Quick Reference

Caractéristiques

  • Type produit : Ouvrage
  • Langue : Anglais
  •  
  • Editeur(s) : O'Reilly
  • Auteur(s) : Steven Feuerstein
  • Collection : Best Practices
  •  
  • ISBN13 : 978-0-596-00121-6
  • EAN13 : 9780596001216
  • ISBN10 : 0-596-00121-5
  • Parution : 01/04/2001
  • Edition : 1ère édition
  •  
  • Nb de pages : 182 pages
  • Format : 15 x 22,8
  • Couverture : Broché
  • Poids : 311 g
  • Intérieur : Noir et Blanc
  •  

mentions légales | conditions générales de vente | copyright © 2012
(1) livraison gratuite à partir de 49 € en France métropolitaine