72
C0D4
7y

Don’t you just love it when you do the following in a prod database 😅

UPDATE table SET someImportantField= NULL; WHERE abc = 123;

If I don’t laugh right now I’m going to cry.

Comments
  • 4
    @Alice but it’s Friday and 5pm 😂 well almost 6 now....
    Back up restored
    🤔 now to try this again without that little guy
  • 3
    @Alice hahahaha I want to go home.
    🤞 this doesn’t break....
    .
    .
    .
    .
    .
    Shit 2000 records changed, oh wait that’s right 😂
  • 7
    Yes that is why i start any DML with begin transaction;
  • 3
    And that’s why should always use transactions. If you mess up, just execute rollback;
  • 3
    It's not you it's interested IDE inside your brain that's looking for ways to get useful. xD
Add Comment