The Fix
by in CodeSOD on 2014-03-31As one of the more experienced DBAs at RBC (Really Big Corporation, Inc), Marle was frequently called upon to review changes being proposed by her younger, less worldly-wise colleagues. This includes not just "pure" DBAs but also DBA wannabes (otherwise known as developers). Marle had no problem with this part of her job. People had mentored her when she was just getting started and paying back was just good karma. It was also, occasionally, the source for a really good WTF.
On a Tuesday morning, the following stored procedure to review came across her desk.
A junior developer recently left the firm that Graham works for. In an act of great kindness and generosity, before officially departing, he sent to the developer who had inherited his work a file titled 'Useful_Bits.txt' - some code that he had lovingly written and could potentially be reused.