Hacker News new | past | comments | ask | show | jobs | submit login

Pretty much this - hence my upvote for you.

I also like to stylistically indent my SQL to make it easier to follow. This works well for most typically use cases, but it can fail horribly when you start to certain kinds of JOINs and such - the indenting will make things more difficult to read.

Of course, once you start doing really wild things with SQL, no amount of casing or indentation will save you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: