This could be just a personal quirk but I'd really prefer SQL keywords and functions to be uppercase, while table and column names as lowercase as that help me to easily distinguish the boilerplate from actual data
I always used spacing for that. I find that it's easier (for me) to keep case changes to a minimum. I prefer writing statements in this fashion:
select col, col2, col3 from table join table_2 on table_2.col = table.col where table.col2 = 'value' and table.col3 > other_value;
This way I always have my actions on the left and my columns, values, expressions on the right.
But that's just me, possibly. I find it neat and clean and easier to focus on instead of case changes confusing my attention.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This could be just a personal quirk but I'd really prefer SQL keywords and functions to be uppercase, while table and column names as lowercase as that help me to easily distinguish the boilerplate from actual data
I always used spacing for that. I find that it's easier (for me) to keep case changes to a minimum.
I prefer writing statements in this fashion:
This way I always have my actions on the left and my columns, values, expressions on the right.
But that's just me, possibly. I find it neat and clean and easier to focus on instead of case changes confusing my attention.