this post was submitted on 20 Dec 2023
657 points (96.2% liked)

Programmer Humor

32480 readers
267 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
[โ€“] FellowHuman@lemmy.world 14 points 11 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

[โ€“] reverendsteveii@lemm.ee 3 points 11 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';