 |
|
PL/SQL Statements Per Line Tips
Oracle Tips
|
PL/SQL Statements Per Line
standards
Place only one statement (or part thereof) per line of code. Break compound
statements over multiple lines. Do not exceed a maximum line width of 80
characters (including indentation). Due to space limitations, the lines in this
book are limited to a maximum of 70 characters.
If your code has a complex equation or formula that is expressed using a
single statement or operation, consider breaking the code into several smaller
statements to make the operations less intimidating. The equation will be much
easier to debug; in addition, the process of breaking the equation into
subsections will increase your awareness of any mistakes that you make.
This is an excerpt from "High Performance Oracle Database
Automation", by Jonathan Ingram and Donald K. Burleson, Series Editor.