Last night, while studying for an economics exam, I took a moment to execute the following SQL against a client's production database:
UPDATE table_name SET column_a = 'Equipment', column_b = 'Equipment' WHERE column_a = 'Boojums' GO UPDATE table_name SET column_a = 'Borfins', column_b = 'Equipment' WHERE column_a = 'Nerfherders' GO
The client called this morning to ask why the application suddenly had two different types of equipment, one which looked suspiciously like a collection of borfins.
You can see what I did, of course. I copied the first statement and forgot to change the copy's second argument. And I quite deservedly looked stupid.
What makes this even funnier: I executed the statement against a staging server first, carefully (I thought) checked the results, and then executed it against the production server. This is why having someone else do quality assurance is a good thing for most programmers.
dasBlog theme by Mads Kristensen
All content Copyright ©2010 David Braverman. The Daily Parker by David Braverman is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License, excluding photographs, which may not be republished unless otherwise noted.
Disclaimer David Braverman is the author of this blog and is solely responsible for its content.
Avanade does not control or endorse the content, messages or information found in any public Weblog, and therefore specifically disclaims any liability with regard to this Weblog and any actions resulting from the author's participation in any Weblog.
The ParkerCam may return, but until it does, it's still a good photo of him.