Fess up. You know it was you.

you are viewing a single comment's thread
view the rest of the comments
[–] 24 points 2 years ago (1 child)

My trick is writing it as a SELECT statement first, making sure it's returning the right number of records, and then switching out the SELECT for DELETE. Hasn't steered me wrong yet.

  • source
  • parent
  • hideshow 1 child comment