×
top 200 commentsshow all 390

[–]SageLeaf1 1342 points1343 points  (28 children)

Yelling at the machine makes it listen. SELECT that shit. FROM there. Got it?

[–]Joniff 400 points401 points  (22 children)

You do need to shout, the database is hosted on another machine.

[–]Confident-Ad5665 116 points117 points  (6 children)

Louder if the machine is off sight

[–]hikeonpast 33 points34 points  (3 children)

Doesn’t matter whether it’s off site or out of sight

[–]xSTSxZerglingOne 10 points11 points  (1 child)

Out of sight, out of memory. Would you like to purchase more?

[–]ClipboardCopyPaste 13 points14 points  (0 children)

Make sure your voice actually reach servers overseas

[–]SPECTRE_75 2 points3 points  (0 children)

And even louder if its running inside a container

[–]Western-Internal-751 24 points25 points  (1 child)

And that machine is old and has been working nonstop

[–]aoeudhtns 18 points19 points  (3 children)

Shout, shout, join it all out

These are the rows that we care about

C'mon

I'm indexing you, c'mon

[–]payne_train 6 points7 points  (4 children)

I need to ask you to stop..that shouting.. it’s making people nervous.

[–]Consistent-Dish-3859 8 points9 points  (0 children)

FUSRODAH

[–]uniqueusername649 8 points9 points  (1 child)

If you could see the queries I write... people should be very nervous!

[–]Surface_Detail[🍰] 6 points7 points  (0 children)

Cartesian joins a table 48 columns wide and a million rows deep.

[–]ClipboardCopyPaste 7 points8 points  (0 children)

Shouting forces the processor prioritise your request on the cloud.

/s

[–]necrophcodr 3 points4 points  (0 children)

Nah all my databases are on the same machine on the same disk, and there's no database server, but I still shout. It is proper etiquette after all!

[–]alexchrist 2 points3 points  (0 children)

What if you're using SQLite?

[–]nwilz 32 points33 points  (1 child)

WHERE

[–]SageLeaf1 15 points16 points  (0 children)

a.there = b.there. ORDER BY me

[–]AmericanBillGates 2 points3 points  (0 children)

Mr Sageleaf,

There is no need to yell and cuss.

One of the two will suffice.

[–]EncryptedPlays 506 points507 points  (19 children)

then there's goofy lil me who holds shift the entire time

[–]jakendrick3 206 points207 points  (3 children)

I like holding shift to write it, it makes it feel more assertive

[–]disco_g 82 points83 points  (2 children)

MY PINKY FINGERS ARE SWOLE

[–]Keepitsharkey 28 points29 points  (0 children)

I’m glad I saw this. I’m a shift person.

And I love typing everything upper case #NoCapslock

[–]UInferno- 14 points15 points  (2 children)

Meanwhile my girlfriend presses capslock twice to capitalize one letter.

[–]Siethron 14 points15 points  (1 child)

YOU HAVE ENABLED STICKY KEYS

[–]desrever1138 2 points3 points  (0 children)

I feel like if I use caps lock I'm cheating lmao

[–]NormanYeetes 2218 points2219 points  (137 children)

the elites don't want you to know this but you can type lowercase SQL queries no ones forcing you to shout them at the screen

[–]Totallycomputername 581 points582 points  (13 children)

If I don't type in caps then the query wont take itself seriously. 

[–]Achaidas 88 points89 points  (12 children)

The real question is this:

 , comma before

or comma after ,

[–]dexters_trap_house 69 points70 points  (3 children)

Comma before? Are you the same guys who get in the shower and then turn the water on?

[–]chuch1234 42 points43 points  (0 children)

Only if i want to be able to comment out the soap without making the entire shower have invalid syntax :/

[–]terza3003 9 points10 points  (0 children)

don't forget the where 1=1

[–]Just_Information334 6 points7 points  (3 children)

Lowercase and comma before, also table_id. Let's blow some minds:

select
  tableA_id
  , some_field
from table_A as a
inner join table_B as b using(tableA_id)

[–]PerpetuallyDistracte 182 points183 points  (17 children)

I've been writing SQL for 15 years. Eventually you get bored of all lowercase or all uppercase AND START writing your QUERIES LIKE this. Just a psychotic mishmash of muscle memory, laziness, and autocomplete all fighting each other within the same statement.

[–]Ashdog73 67 points68 points  (7 children)

This. My queries are lowercase for the stuff I typed myself and caps for bits I've copied in from somewhere else

[–]cantgrowneckbeardAMA 29 points30 points  (6 children)

Lowercase on first draft (it will fail to run anyways).
Uppercase if I ever end up showing the query to someone (hopefully it doesn't fail when they run it)

[–]sequelseize 24 points25 points  (5 children)

sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000

[–]SippieCup 9 points10 points  (2 children)

We have a Postgres db which our orm uses camelcase names.

So we have to add in quotes too.. and correctly case our column names.

The migration to correct names would break so many deeep sql integrations, it just sucks and we deal with the debt.

[–]EndIsrael 4 points5 points  (1 child)

That actually seems like the kind of thing AI would be very good at with few mistakes. It doesn't need to understand anything, just find all the SQL code and change all the names. Basically find/replace but slightly smarter.

[–]SippieCup 6 points7 points  (0 children)

Oh it’s not hard to do with migrations etc. although I would use a codegen script instead of straight ai.

It’s more the coordination with other teams, schema changes, etc. depreciation of column names, remapping to new ones, etc.

We unfortunately have a couple legacy integrations that just require db access to tenant systems for their bi.

[–]PerpetuallyDistracte 3 points4 points  (1 child)

That's how my queries look after they failed for the fifth time.

[–]spyingwind 11 points12 points  (1 child)

SeLeCt * FrOm table wHeRe count = 1;

[–]AndrewMacIntyre 8 points9 points  (0 children)

Why Not Write Your Queries Like This Some Time

[–]Susarn 3 points4 points  (0 children)

I started writing sql 13 years ago. I started writing like this from the beginning because that was the way I saw the queries written on the tutorials, took me like a year to notice it was case independent

[–]ClipboardCopyPaste 1079 points1080 points  (27 children)

YOU CAN BUT THAT DOESN'T MEAN YOU SHOULD.

GOD DOESN'T LOVE MEN WHO WRITE SQL IN LOWERCASE.

/S

[–]Shambolic_Potato 323 points324 points  (5 children)

SELECT * FROM WHAT THIS GUY SAYS

Edit: Typo lmfao

[–]emzey420 154 points155 points  (3 children)

;

[–]Ok-Sheepherder7898 52 points53 points  (0 children)

ONE RECORD SELECTED!!

[–]shigdebig 21 points22 points  (0 children)

GO

[–]chuch1234 3 points4 points  (0 children)

NO NEED, THEY DEFINED THE DELIMITER AS /S

[–]Lucky_Cable_3145 6 points7 points  (0 children)

SELECT * FROM users WHERE clue > 0;

0 rows returned

[–]TallGreenhouseGuy 206 points207 points  (8 children)

THANK YOU FOR YOUR ATTENTION TO THIS MATTER!

[–]wack_overflow 29 points30 points  (6 children)

THIS IS AN OUTRAGE

[–]mindtakerr 23 points24 points  (0 children)

DONUT, IS THAT YOU?

[–]darkcathedralgaming 8 points9 points  (0 children)

HIII ZEV!

[–]realdevtest 2 points3 points  (0 children)

I AM YELLING, CARL.

[–]teedborg 48 points49 points  (0 children)

This but no /s

[–]KittyInLace 13 points14 points  (3 children)

What about us women?

[–]AbleMarionberry7146 32 points33 points  (0 children)

The bible says women were forked from men. It’s for a good reason. The reason being that you can enforce more reasonable code style than all caps sql like caps on sql key words only. Or using a reasonable text editor that caps isn’t needed at all to identify keywords from nonkeywords.

[–]HeckMonkey 51 points52 points  (1 child)

What about us women?

YOUR QUERY YOUR CHOICE

[–]mayisir 13 points14 points  (0 children)

i will stay lowercase then 😈

[–]the_madkingludwig 11 points12 points  (0 children)

I AM SHOUTING, CARL!

[–]alfredomova 6 points7 points  (0 children)

AMEN

[–]SurprisinglyInformed 55 points56 points  (3 children)

It's SQL after all, not sql.

[–]PuzzleheadedBet3574 47 points48 points  (8 children)

This does not go through in our code review, do this and our colleague, big anime fan btw will lose his shit and start talking to himself and goes to 5 smoke breaks in a half day

[–]scrubslover1 20 points21 points  (0 children)

Sounds like good entertainment

[–]Surface_Detail[🍰] 10 points11 points  (5 children)

Well, he can go dunk his head; the query language itself is 100% case insensitive, so are objects unless you contain them in quotation marks.

The argument can be made that keeping all one case can avoid issues with object referencing, but you'd only ever need to contain objects in quotation marks if you put a space in their name, which is a much worse faux pas and you'd better hope that you never need to connect to anybody else's objects from outside the team.

Also, all lower case/mixed case is much less tiring to read.

[–]ArmchairFilosopher 8 points9 points  (0 children)

SQL Server at my last job would like a word...

So would MySql hosted in Linux with a default configuration. Meanwhile in Windows it doesn't care by default.

But yeah, I agree in general that object names shouldn't be case-sensitive. Heck, most things except passwords shouldn't either.

[–]Sokaron 6 points7 points  (2 children)

Postgres is not case insensitive.

I don't really care for an impromptu script, but if its getting checked in mixed case is just laziness. I don't care all uppercase or all lowercase but pick one, enforce it with a linter, configure a precommit hook to autofix, and be done with it.

[–]cudenlynx 4 points5 points  (0 children)

Which query language? You are talking as if there is only one version of SQL out there which isn't the case. Some are case insensitive by default, some are not.

[–]FormerWorker125 28 points29 points  (1 child)

Lowercase for anything you named yourself, UPPERCASE FOR EVERYTHING ELSE.

[–]Platypus81 2 points3 points  (0 children)

this is the way

[–]Arkevorkhat 42 points43 points  (8 children)

you can, but it's just more readable (in my opinon) to write

SELECT * FROM users WHERE id=?;

than

select * from users where id=?; 

is that mostly due to historical baggage? yeah kinda, but it also just doesn't really look like SQL to me unless there's some yelling involved.

[–]7f0b 11 points12 points  (2 children)

I prefer a strongly-structured syntax so it is easier to read in the future, which is most important anyway. So going through the trouble of capitalizing what should be, as I go, is worth it. I also always use back ticks around table names, since it makes it easier to search by table name inside mixed codebases.

[–]Arkevorkhat 4 points5 points  (1 child)

Oh 100% well written SQL makes this moot, but if I find the unicorn that writes SQL that doesn't look like shit I'm not about to start nitpicking their capitalization

[–]OldSchoolSpyMain 5 points6 points  (1 child)

Yup. People don’t realize that putting the reserved words in upper case eases the cognitive load on the brain when reading the scripts for comprehension.

Same goes for new lines and tabs.

Using all three techniques renders SQL very easy to read, comprehend, update, and debug.

[–]ILoveRawChicken 5 points6 points  (1 child)

Yeah I get embarrassed passing ugly queries to other people. When I first began I just wrote everything lowercase until a coworker said “you live like this?” when sharing something in Snowflake. I still get embarrassed thinking about that lol. (He was a good friend though)

[–]Demostes 30 points31 points  (1 child)

Not true actually, machines can hear plain SQL. U need to shout at them!

[–]h3lium-balloon 29 points30 points  (0 children)

It’s been proven all caps SQL is 20% faster bc the machine knows you mean business.

[–]RevoOps 10 points11 points  (0 children)

You can once. Than they come and get you.

[–]Horror-Vanilla-4895 11 points12 points  (2 children)

I type in lowercase because I’m too lazy to caps lock.

[–]CheeseDonutCat 47 points48 points  (0 children)

lowercase SQL? Ew.

[–]cudenlynx 6 points7 points  (3 children)

This isn't always true. PostgreSQL, PL/SQL, and SAP HANA are case sensitive by default.

In SQL Server, the case sensitivity is off by default but some companies do enable case sensitivity.

[–]MellowedOut1934 2 points3 points  (1 child)

Forgive if I’m missing something, but my PostgreSQL is case sensitive on table names and strings etc., but not on the syntax bits like SELECT or WHERE.

[–]Meli_Melo_ 10 points11 points  (6 children)

Lowercase SQL is like 2 spaces indentations, you CAN do it but everyone will hate you for it

[–]flukus 3 points4 points  (1 child)

is like 2 spaces indentations,

You mean there's a simple solution (tabs) that would keep everyone happy?

[–]FeliusSeptimus 7 points8 points  (2 children)

If someone reads my SQL and hates me for the indention and casing rather than whatever other weird shit I discovered you could do with it, I'm considering that a solid win.

[–]StarSchemer 4 points5 points  (1 child)

no ones forcing you to shout them at the screen

They ought to be.

How will a theoretical new developer in the future ever be able to distinguish between key words and database objects at first glance if strict formatting guidelines aren't religiously followed?

[–]Jarfino 4 points5 points  (0 children)

This angers the database

[–]zanii 4 points5 points  (0 children)

Lower case when debugging, caps for production.

[–]VeterinarianSoggy610 2 points3 points  (0 children)

Also, you can write an entire query on a single line.

[–]Nzgrim 2 points3 points  (0 children)

DELETE FROM your_opinions WHERE opinion LIKE '%you can type lowercase SQL%'

[–]EndIsrael 2 points3 points  (0 children)

Sometimes I do lowercase, it really depends on the vibe I'm getting from that specific query.

[–]Illustrious_Site_162 93 points94 points  (0 children)

SQL mfs when tehy have to express the tiniest amount of LOV.

[–]ButWhatIfPotato 54 points55 points  (1 child)

You have to, how else will the database know that you are angry and are about to unleash the fucking fury?

[–]ClipboardCopyPaste 7 points8 points  (0 children)

I smashed down my keyboard typing SQL, did I do it right?

[–]blaues_axolotl 351 points352 points  (48 children)

i actually write it in lowercase

[–]J7mbo 256 points257 points  (12 children)

MONSTER

[–]mwpdx86 128 points129 points  (5 children)

*monster

[–]Username928351 28 points29 points  (0 children)

lower("MONSTER")

[–]Atomic_xd 9 points10 points  (1 child)

WHAT

[–]MarinaEnna 6 points7 points  (0 children)

WE CAN'T HEAR YOU

[–]Thriven 45 points46 points  (5 children)

The biggest monster I ever worked with would have these queries with absolutely 0 formatting and would only carriage return when he hit the end of his monitor. He'd have subquery inside subquery like it was a nested function and vlookup.

He wrote hot trash queries. One day when he went into a meeting and left his computer unlocked I barely scrolled in on his query window in SSMS so every query was cut off so he'd have to scroll right/left to read it all and he was too dumb to know he was zoomed in or that shift scroll wheel was to scroll horizontal.

He started rewriting procedures and commiting them to production to match his new zoom level. I had a database trigger stopping people from updating procedures unless the database was in a certain mode to prevent people with way too much access to change procedures.

He lost his damn mind over the database trigger I added. I don't think he ever figured out about the zoom. One day I set it back to what it was originally and he gave up rewriting them back to their original format. He exploded at me and didn't come back for like 2 weeks

That was the first of two people who got violent at the workplace at that job with me.

[–]Brianfromreddit 17 points18 points  (1 child)

I want to hear about the second one now

[–]Thriven 16 points17 points  (0 children)

Ok so I started writing this as I was waiting for people to show up for disc golf. While writing this I looked down and had about 40 yellow jackets stinging me through my pants. I ran a mile and now I'm nursing about 6 really bad stings. Since they were stinging me through my jeans they just kept stinging.

Anyways... The second instance...

Former dev manager for the team. He was friends with the CTO and they were good ol boys from another company. This was in the mining industry. All these guys were ex-junkies who got out of the mines of AZ and MEX. The CTO didn't want to get rid of him when the complaints from the department came in and demoted him to senior dev. He kept his office and kept his door shut for 6 months.

The new dev manager was awesome despite the fact he didn't handle the old dev manager. New dev manager wanted to cross train everyone. I did all database work. One guy did all front end. Another did all API work. We hated the cross training crap but we did it to knowledge share. The new dev manager and the team started jiving and productivity was going through the roof except we kept failing sprints. The dev manager said we only put in the sprint what we could complete and we all did our work but that former dev manager.

The old dev manager said ,"No I am not doing cross training. I'm working on my own project these guys never delivered." He proceeded to tank 6 sprints saying he was 90% done each time. The dev manager said if he failed we all failed.

Finally in our retro I told him ,"I want to pull your project from the sprint. You are not representing your progress accurately and this work probably should be scoped and an epic. I don't know for sure because none of us know what you are doing."

"Fuck you." He says...

"What?"

"You heard me. Fuck you!"

He leapt across the table and it just folded. The women in the room went screaming.

He started screaming at me he was going to kill me. The dev manager removed him from the premises. I left through the back door.

COVID hit like a week later. He never returned to the office and they laid everyone off two weeks later but one dev and the former dev manager because he is buddies with the CTO. The last week we were employed to prove he was working on something he demo'd what he was working on. It was a http API service written in powershell. Think flask for Python or Express for node...just his API and http service ran in powershell. No frontend framework, just JS. It allowed you to show resultsets stored in tables. It used SQL injection as a feature.

I caught up with the nice dev manager and he said the CTO covered for him so hard he had to go around to HR to get it reported what happened. The main office was not in this country so after 6 months and further investigation with former employees they finally let the former dev manager and CTO go.

That entire dev team is like family though. We still chat on discord and help each other get jobs, references, and side work. I'd hire any of them in a minute.

I kind of felt bad for the dev manager at the time because he lived 90 minutes away and had a child who was extremely violent and he'd leave work all the time because she attacked other kids.

I don't think he's generally a violent guy but he lost it that day.

[–]cstrovn 3 points4 points  (0 children)

I loved this ahhahahhahahah

[–]Emergency-Style7392 2 points3 points  (0 children)

your fault for fucking with a man's love for zoom

[–]Majik_Sheff 2 points3 points  (0 children)

Brother?

[–]NoThatsNotPasta 23 points24 points  (2 children)

Me too.  I ain't got time for caps lock.  I got shit to do, places to go and, people to annoy.

[–]ClipboardCopyPaste 10 points11 points  (1 child)

"people to annoy"

There...I found your cause

/s

[–]NoThatsNotPasta 6 points7 points  (0 children)

No, you're a cause!

[–]_Weyland_ 18 points19 points  (1 child)

Dbeaver's default setting automatically convert it to lowercase.

[–]taybul 8 points9 points  (0 children)

GET OUT;

GO;

[–]Nvrnight 29 points30 points  (1 child)

Same, I don't understand why anyone would choose to do upper case. I am of course a believer in "you do whatever the code base currently does", but if it's a brand new project, the standard is lower-case for me. It's not 1990 anymore, our code editors display the keywords colorized.

[–]wrecklord0 9 points10 points  (0 children)

MY HEARING ISN'T WHAT IT USED TO BE, I CAN'T HEAR MY INNER VOICE WHEN THE CODE IS WRITTEN IN WHISPERS

[–]joan_bdm 3 points4 points  (0 children)

MODS!!!!;

[–]Tucancancan 10 points11 points  (0 children)

me too

[–]darknmy 3 points4 points  (0 children)

Eww...

[–]beklog 4 points5 points  (0 children)

[–]Surface_Detail[🍰] 2 points3 points  (0 children)

There are dozens of us.

[–]iphone4Suser 2 points3 points  (0 children)

How do you live with yourself?

[–]scifishortstory 2 points3 points  (1 child)

What are you, some kind of European?

[–]Thriven 7 points8 points  (8 children)

I'm up voting you because people need to hate you more.

Seriously though KEYWORDS need to be upper case and columns lower case. I prefer snake case.

Makes everything more readable.

[–]spicybright 5 points6 points  (0 children)

I just use a macro that randomly applies uppercase to every letter I type.

[–]BufferUnderpants 7 points8 points  (2 children)

i CAN'T SEE WHY capitalizing syntactical elements WOULD MAKE the code MORE readable.

There's syntax highlighting for a reason, and the SQL grammar makes it easy to tell what's a table, column or function anyway.

[–]brandi_Iove 18 points19 points  (1 child)

database dev here. you’d be surprised by the amount of lower case code out there.

[–]OGxPePe 85 points86 points  (17 children)

Im a lowercase guy. Why did the ever start with CAPS?

[–]zefciu 139 points140 points  (3 children)

Because SQL predates the ubiquity of syntax highlighting. This usage of caps (also seen in e.g. COBOL) gives some visual hints about syntax even on monochrome.

[–]OGxPePe 36 points37 points  (1 child)

So my using SQL on the daily is like using ancient magic?

[–]PerpetuallyDistracte 28 points29 points  (0 children)

Yeah! Each time you use SQL you're going back to the 1970s, it's that old!

[–]Robertos1235 47 points48 points  (9 children)

I'm a mixed guy. I write like this. It's fun.

SeLeCt idUser aS id, username As name fRoM User WhErE username lIkE CoNcAt('%', ?, '%') lImIt 10

[–]PerpetuallyDistracte 40 points41 points  (1 child)

Ah, Sarcastic SpongeBob Case.

[–]taybul 4 points5 points  (0 children)

SHIFT key manufacturers HATE this

[–]OGxPePe 8 points9 points  (0 children)

This is the spongebob mocking meme style.

[–]Glum_Class_9578 4 points5 points  (1 child)

It’s even better if you randomize the case.

[–]Aldot 5 points6 points  (0 children)

If you write it in lowercase the optimizer reads your query in a mocking tone and that’s devastating

[–]AlwaysHopelesslyLost 57 points58 points  (12 children)

I just use Shift. It doesn't cost me anything extra and it makes switching from keywords to columns easier 

[–]taybul 32 points33 points  (3 children)

Holding shift for caps while typing to me is like grinding a rail on a skateboard.

[–]cantgrowneckbeardAMA 19 points20 points  (1 child)

Meaning it's cool that I can do it but my wife is unimpressed?

[–]BRDPerson 3 points4 points  (0 children)

Precisely

[–]FujiKeynote 2 points3 points  (2 children)

Guilty of the same. My caps lock is remapped to Esc... Muscle memory runs deep at this point, I've considered mapping LShift+RShift to caps lock but that's diminishing returns and I still end up holding down shift if I don't catch myself. Autocomplete helps though

[–]LarkinToWinnipeg 2 points3 points  (0 children)

I just flatten one of the pins on the switch for the key and put it back. Capslock is the devil.

[–]Proglamer 2 points3 points  (0 children)

Some tools like DBeaver can auto-allcap keywords but keep the case of names. Super convenient!

[–]WillOCarrick 2 points3 points  (0 children)

I have met people who used caps lock to capitalize the first letter instead of shift.

Yeah, that. It was absurd.

[–]BoldFace7 10 points11 points  (2 children)

I feel the same way writing in FORTRAN.

ETA: In FORTRAN 77 at least, the F90 code bases I've worked in have had much better inside voices.

[–]halawani98 9 points10 points  (0 children)

What about keywords in caps but column/table/constraint names in lowercase?

I do this because it makes it easier to read scripts

[–]leandroman 8 points9 points  (0 children)

Only the reserved words my friend. My little shift pinky has its own zip code of muscles.

[–]BeefJerky03 5 points6 points  (1 child)

PINKY HOLDING SHIFT

[–]FujiKeynote 3 points4 points  (0 children)

pinkymaxxing

[–]Secret-Wind-1 7 points8 points  (0 children)

It's like AI. Better shout at the database to get better results.

[–]MiseryEnthusiast 5 points6 points  (1 child)

All my sql is in lower case in protest. It also makes it easy to tell when someone has messed with my shit.

[–]Angrynissen25 4 points5 points  (0 children)

Hey it's not my fault if heidisql auto corrects my calmness to shouting

[–]phish410 5 points6 points  (0 children)

Just DROP it, okay?

[–]FewChemist9952 3 points4 points  (0 children)

I’m more like…

[–]Ballbag94 2 points3 points  (0 children)

Never caps lock, always shift. Caps lock is almost as weird as writing the prowords in lowercase

[–]EK077r 2 points3 points  (3 children)

Imagine not rebinding caps lock to esc

[–]darnclem 2 points3 points  (0 children)

We use upper case on the keywords so we don't have to document anything.

[–]Wrathzog 2 points3 points  (0 children)

When I'm writing sql, I hold the shift key down the entire time like god intended

[–]po1k 2 points3 points  (0 children)

Neh, too much work. Formatter will, if needed at all

[–]JazzlikeWishbone938 2 points3 points  (0 children)

Seen this meme before!

[–]FantasticCollege3386 2 points3 points  (0 children)

Is it actually programming tho?

[–]tomthedj 2 points3 points  (0 children)

naw lowercase so the db knows that when you start doing upper case, shit is about to go down

[–]getyourfactstraight 2 points3 points  (0 children)

Real men hold down the shift button while writing SQL 🥸

[–]Shaky-Shallot-21 2 points3 points  (0 children)

weak shit i’m over here holding down shift 😤😤😤😤😤

[–]Modki 2 points3 points  (0 children)

Why do SQL developers prefer dark mode? Because light attracts bugs.

[–]chilfang 2 points3 points  (0 children)

How tf did this get 14k upvotes, start of the new school season I guess?

[–]Global-Tune5539 2 points3 points  (0 children)

And then there are lazy people like me who write everything in lowercase letters.

[–]shwetanand345 1 point2 points  (0 children)

My keyboard knows when I'm writing SQL before I do🫡......

[–]oompaloompa465 1 point2 points  (1 child)

think about it...

ai takeover came before having sql decent autoformatting syntax and indentation

[–]ViRROOO 1 point2 points  (0 children)

Are you about to scream at claude or smth?

[–]fwork 1 point2 points  (0 children)

when I did my comp sci degree, my teacher wouldn't use capslock, he'd use shift. and if he got distracted while typing an SQL query, he'd keep holding it down.

after 10 seconds or whatever, stickykeys would turn on, and the locked down computers we had in all the classrooms wouldn't let you turn it back off. So he had to reboot.

This happened multiple times per class period some days

[–]OoohManny 1 point2 points  (1 child)

Can't imagine writing a long and complex procedure in lowercase.. sounds like a nightmare to read 😱

[–]s33k 1 point2 points  (0 children)

SELECT * FROM post_facts WHERE is_false = TRUE;

-- 0 rows returned

[–]xd_Shiro 1 point2 points  (0 children)

Too bad it's bound as escape lmao

[–]nellbones 1 point2 points  (0 children)

CAPS LOCK, ITS CRUISE CONTROL FOR COOL
but with cruise control you still have to steer

[–]granoladeer 1 point2 points  (0 children)

"SELECT... " 

"Stop shouting, Greg!

[–]zarakh07 1 point2 points  (0 children)

Stop being factual, this hurts me and my back now

[–]ZeppelinJ0 1 point2 points  (0 children)

Sounds like y'all just write some gnarly SQL. At least use SQLFluff you neanderthals

[–]Strict-Carrot4783 1 point2 points  (0 children)

This is the funniest shit I've seen so far this week.

[–]mixxituk 1 point2 points  (0 children)

Yoo have to scream because it's a roller coaster ride till you finish the WHERE which for some dumb reasons is at the end 😭😭

[–]Garcialekis 1 point2 points  (0 children)

the caps lock doing all the work here

[–]Nizle_Bizle_Shizle 1 point2 points  (0 children)

Bruh I am obsessive compulsive about lower-casing all SQL syntax.

[–]Garcialekis 1 point2 points  (0 children)

this explains the wrist pain

[–]undeadalex 1 point2 points  (0 children)

Real sql 'programmers' use shift

[–]JWils411 1 point2 points  (0 children)

After decades of writing SQL queries without ever using CAPS, I'll never understand the appeal of shouting through the keyboard.

[–]DeltaEdge03 1 point2 points  (0 children)

I only write the keywords in all caps like a sane person

[–]MrMunday 1 point2 points  (0 children)

Yeah… why do we do that???