3 ms·
> why are the defaults to automatically lowercase all of my SQL? Because yelling at the database server doesn't make it work better, and just makes uglier code
by dragonwriter 6y ago
> why are the defaults to automatically lowercase all of my SQL?
Because yelling at the database server doesn't make it work better, and just makes uglier code.
- rbanffy 6y agoUppercasing keywords makes it easier to read the code. Apple's Pascal tooling did that, IIRC.
- e12e 6y agoIt's a surprising default - for better or worse history made the convention that SQL KEYWORDS be uppercase (when pretty printed). I assume it stems from case being irrelevant and a time of green screens and monochrome printouts - but it's still the most common formatting/presentation of sql?