TheHiveMind
Banned
So I was doing my usual DB admin stuffs..
and then all of a sudden things went horribly wrong, because I had a single character typing err..
it was like this:
update tbl1 set field1 = 'blabla' where field1 - 'blablabla'
the minus was supposed to be an equals sign
To my amazement sql parsed it and changed every one of those million+ records
3 years of routing data.. fark
Lucky for me we started backing up that table a few days ago. So it seems like it can be fixed (with some effort) and I don't have to throw myself off a building haha
I want an undo command =) Too much to ask for in this day and age?
and then all of a sudden things went horribly wrong, because I had a single character typing err..
it was like this:
update tbl1 set field1 = 'blabla' where field1 - 'blablabla'
the minus was supposed to be an equals sign
To my amazement sql parsed it and changed every one of those million+ records
Lucky for me we started backing up that table a few days ago. So it seems like it can be fixed (with some effort) and I don't have to throw myself off a building haha
I want an undo command =) Too much to ask for in this day and age?