DEV Community

Discussion on: 3 Embarrassing Stories From My Software Development Career

Collapse
 
sauloco profile image
Saulo Vargas

4/5 years ago I wrote a SQL script, I tested it in test database and it was working, so I run it in Production database.
I ended up setting the whole Public Hospital patients names and lastname records to "IRIS MABEL", "CASTIÑEIRA".... I never forget that name 😂

Collapse
 
sauloco profile image
Saulo Vargas

In my defense I detected it almost inmediatly and rollbacked that with an earlier backup... phew, that's adrenaline.

Collapse
 
jaymeedwards profile image
Jayme Edwards 🍃💻

Ha! Awesome. It’s in those moments I’m sometimes amazed at how creative and resourceful we can be to recover. Nice save 🤣