3 ms·
Yell-caps in SQL are gross. I write all my sql in lowercase. This may not be the right battle to be fighting. SQL reserved words have been written in all caps
by epoxyhockey 12y ago
Yell-caps in SQL are gross. I write all my sql in lowercase.
This may not be the right battle to be fighting. SQL reserved words have been written in all caps for a Very Long Time - it is a standard. From my personal experience, when I encounter legacy code where SQL keywords are lowercase I immediately think that the statements have been written by an inexperienced engineer (probably without any formal education).
The last time I encountered SQL statements with lowercase keywords, the individual included a table named user in their schema, causing all kinds of havoc, and reinforcing the stereotype.
- glibgil 12y agoIt's not a battle. I won't do it. I never do it. I would name my table `user` or [user] or "user". I'm a big boy.