Oracle pl sql best practices steven feuerstein free download
We can't, any of us, know all there is to know about, well, anything. And if we hide what we don't know, that ignorance can introduce bugs into our applications.
Any comments, perspectives, and especially mistakes in this column are, however, entirely my own! Note on performance claims: When I publish efficiency advice intended for a general audience, it is perhaps permissible to say "often faster" or "sometimes it will be more efficient to take this approach.
A particular technique either does or does not help you. So whenever you read advice and recommendations like those below, you should always build yourself a test case and run it on your database, for your schema, on your computer.
Table of Contents. How can I get all the developers on my team to handle errors the same way? The book contains best practices, divided by topic area. 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.
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. Declaring and Using Package Variables 4. Control Structures 4. Conditional and Boolean Logic 4.
Loop Processing 4. Miscellaneous 5. Exception Handling EXC Set guidelines for application-wide error handling before you start coding. Raising Exceptions 5. Handling Exceptions 5. Declaring Exceptions 6. Program Construction 7. Structure and Parameters 7.
Functions 7. Triggers 8. Package Construction PKG Group related data structures and functionality together in a single package. PKG Provide well-defined interfaces to business data and functional manipulation using packages.
PKG Freeze and build package specifications before implementing package bodies. PKG Implement flexible, user-adjustable functionality using package state toggles and related techniques. PKG Use package body persistent data structures to cache and optimize data-driven processing. PKG Insulate applications from Oracle version sensitivity using version-specific implementations. PKG Avoid bloating package code with unnecessary but easy-to-build modules.
PKG Simplify and encourage module usage using overloading to widen calling options. PKG Consolidate the implementation of related overloaded modules.
0コメント