this post was submitted on 19 Oct 2023
1746 points (98.8% liked)

Programmer Humor

32600 readers
57 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 157 points 1 year ago (7 children)

Technically, SQL is case-insensitive.

Practically, you want to capitalise the commands anyway.

It gives your code some gravitas. Always remember that when you're writing SQL statements you're speaking Ancient Words of Power.

Does that JavaScript framework that got invented 2 weeks ago by some snot-nosed kid need Words of Power? No. Does the database that has been chugging on for decades upon decades need Words of Power? Yes. Words of Power and all the due respect.

[โ€“] Nahdahar 5 points 1 year ago

SeLEct uSERnaMe frOm usERs WhErE fiRStnAmE = 'John';

load more comments (6 replies)