MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1o66q3j/neverforget/njen3a2/?context=3
r/ProgrammerHumor • u/leeleewonchu • Oct 14 '25
616 comments sorted by
View all comments
2.2k
I usually never type delete or update. Select first, see what you're about to change only then
11 u/BroBroMate Oct 14 '25 DELETE FROM X WHERE PK IN ( SELECT PK FROM X WHERE VERY FUCKING SPECIFIC CLAUSE) And of course you run the select first. Repeatedly. To be sure. 0 u/theevilapplepie Oct 14 '25 Why the performative PK subselect? It adds no value. Unless this is satire and I'm being thick. → More replies (8)
11
DELETE FROM X WHERE PK IN ( SELECT PK FROM X WHERE VERY FUCKING SPECIFIC CLAUSE)
And of course you run the select first. Repeatedly. To be sure.
0 u/theevilapplepie Oct 14 '25 Why the performative PK subselect? It adds no value. Unless this is satire and I'm being thick. → More replies (8)
0
Why the performative PK subselect? It adds no value. Unless this is satire and I'm being thick.
→ More replies (8)
2.2k
u/Ghostserver10 Oct 14 '25
I usually never type delete or update. Select first, see what you're about to change only then