Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
Oh for fuck's sake.
delete from FooTable where FooID in (select FooID from OtherTable)
If there is no field called FooID in OtherTable, then the bracketed select is just the FooID of the current record in FooTable, repeated n times where there are n rows in OtherTable. So it matches every record.
Which makes perfect sense, but for fuck's sake.
Obviously if this was prod I would have been using fully-qualified column names.
But nevertheless, for fuck's sake.
rant
ffs