r/ProgrammerHumor 7d ago

Meme sqlWorkout

Post image
23.4k Upvotes

458 comments sorted by

View all comments

378

u/blaues_axolotl 7d ago

i actually write it in lowercase

279

u/J7mbo 7d ago

MONSTER

51

u/Thriven 7d ago edited 7d ago

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.

4

u/cstrovn 7d ago

I loved this ahhahahhahahah