-
Notifications
You must be signed in to change notification settings - Fork 13
Align parameters in function call
Tako Lee edited this page Feb 21, 2014
·
2 revisions
When calling a procedure or function, align the parameters into a column. This reduces the visual clutter around the call, making it stand out from the rest of the code.
Original SQL:
DaysBetween (dStartDate => dEnrolledDate,
dEndDate => dGraduationDate,
nGPA => nFinalGPA,
nDaysBetween => nDuration);
Formatted SQL:
DaysBetween (dStartDate => dEnrolledDate,
dEndDate => dGraduationDate,
nGPA => nFinalGPA,
nDaysBetween => nDuration);
Reference: http://www.dba-oracle.com/t_plsql_code_alignment_standards.htm