_thebrain_@lemmy.dbzer0.com to Programmer Humor@lemmy.ml · 1 year agoPoor Bobby tables might mess up the returnlemmy.dbzer0.comimagemessage-square29fedilinkarrow-up1689arrow-down127
arrow-up1662arrow-down1imagePoor Bobby tables might mess up the returnlemmy.dbzer0.com_thebrain_@lemmy.dbzer0.com to Programmer Humor@lemmy.ml · 1 year agomessage-square29fedilink
minus-squareFellowHuman@lemmy.worldlinkfedilinkarrow-up15·1 year agoHope 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
minus-squareAlien Nathan Edward@lemm.eelinkfedilinkEnglisharrow-up3·1 year 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’;
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
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’;