this post was submitted on 20 Dec 2023
662 points (96.4% liked)

Programmer Humor

32375 readers
1460 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] 15 points 10 months ago (1 children)

Hope that the behavior is enum and indexed. ...and that the table doesn't have to many columns ...and there aren't many nice people ...god damn it just select only what you need and use limit

[โ€“] [email protected] 3 points 10 months ago

select only what you need and use limit

you don't know the structure of the contacts table, and do you really want christmas gifts to only go to the first x number of nice people?

update contacts set name = 'Grinch' where name = 'FellowHuman';