2

When deleting in sql and unsure always back up your tables !

Comments
  • 2
    I would extend this to inserts and updates as well. Many a time has a junior developer run a "simple script" that has a logic error in the WHERE clause. I've even seen one that entirely forgot about the WHERE clause, thus naming every user entity "Brad."
  • 1
    Better yet, restore a full db backup into a dev database just for dev.
Add Comment