this post was submitted on 06 Nov 2023
1313 points (98.7% liked)
Programmer Humor
32453 readers
888 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
And you can save a bunch of time by inlining all this into one query
Why update before select? Shouldn't it be the other way around? (I'm clueless. )
The select after the update is to check if the update went through properly. You can have more selects before the update if you wanted to.
Ah. It makes sense now. Thanks.
The four horsemen of the datapocalypse
Be Safe! Be a BUSCer!