Skip to content

Align oracle PLSQL operators

Tako Lee edited this page Feb 21, 2014 · 6 revisions
  • Arrange series of statements containing similar operators into columns whenever it will not cause excessive white space and you have sufficient room to do so.

    Original SQL

    vFirstName := 'Roger';
    vLastName := 'Smith';
    vSSN := 999999999;

    Formatted SQL:

    vFirstName := 'Roger';
    vLastName  := 'Smith';
    vSSN       := 999999999;

Reference: http://www.dba-oracle.com/t_plsql_code_alignment_standards.htm

Clone this wiki locally