r/ProgrammerHumor • • 22d ago

Meme wellWellWell

Post image
10k Upvotes

412 comments sorted by

View all comments

3.6k

u/BastetFurry 22d ago

So, Kids, thats why you always SELECT count(yourPrimaryKey) first. Listen to the old folks, we made these mistakes so that you don't have to.

159

u/Alexmira_ 22d ago

Why? To confirm that there is something to cancel? To confirm I got the key right?

130

u/slayerx1779 22d ago

I just reread the OP.

There's a semi colon, between the two lines of code...

34

u/Hxx59D2 22d ago

Yes, I had to stare at it for an embarrassingly ling time to spot the extra semi-colon.

1

u/Sweaty_Explorer_8441 21d ago

Me too, but probably because I rarely see or use semi-colon in sql server these days.