Re:Writing more legible SQL
by irrational on Thursday November 03, 2016 @01:52PM
(#12866252)
I used to agree with you about putting commas at the beginning of lines, but now I've changed my mind. By putting the commas at the beginning of lines it becomes much easier to do dynamic sql and to be able to add remove select statements without having to check the ends of the lines to make sure the last line does not have a trailing comma and to make sure the preceding lines each does have the requisite comma.
[ Parent
| on HN ]
There are no comments on this comment yet.