Click here to Skip to main content

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Try/catch block... PinmemberPIEBALDconsult20-Nov-12 13:30 
GeneralRe: Try/catch block... Pinmemberjasperp20-Nov-12 20:56 
GeneralRe: Try/catch block... Pinmemberspencepk21-Nov-12 4:03 
GeneralRe: Try/catch block... PinmemberProgramFOX21-Nov-12 4:10 
GeneralRe: Try/catch block... PinmemberRafagaX21-Nov-12 4:28 
GeneralRe: Try/catch block... PinmemberProgramFOX21-Nov-12 4:32 
GeneralRe: Try/catch block... Pinmemberjnlt21-Nov-12 5:33 
GeneralWhy would you do this to a stored procedure? It never did anything to you. Pinmemberthrakazog15-Nov-12 11:58 
ALTER PROCEDURE [dbo].[arUpdate]
   @intForecastID int,
   @strForecastName varchar(18),
   @strBillTo varchar(12),
   @strPOCName varchar(50),
   @strPOCEmail varchar(100),
   @strModifiedBy varchar(20),
   @strComment varchar(3000),
   @strDelMaterials varchar(8000),
   @strData1 varchar(8000),
   @strData2 varchar(8000),
   @strData3 varchar(8000),
   @strData4 varchar(8000),
   @strData5 varchar(8000),
   @strData6 varchar(8000),
   @strData7 varchar(8000),
   @strData8 varchar(8000),
   @strData9 varchar(8000),
   @strData10 varchar(8000),
   @strData11 varchar(8000),
   @strData12 varchar(8000),
   @strData13 varchar(8000),
   @strData14 varchar(8000),
   @strData15 varchar(8000),
   @strData16 varchar(8000),
   @strData17 varchar(8000),
   @strData18 varchar(8000),
   @strData19 varchar(8000),
   @strData20 varchar(8000)
 
WTF | :WTF: None of the code in this procedure or from the calling methods looked any better. The data going into the varchar(8000) fields was delimited with a grab bag combination of special characters. Which was then pealed apart using cursors. WTF | :WTF:
Play my game Gravity: IOS[^], Android[^], Windows Phone 7[^]

GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberZac Greve15-Nov-12 12:48 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmemberjim lahey20-Nov-12 3:41 
JokeRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberLewis198620-Nov-12 20:50 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinprotectorPete O'Hanlon20-Nov-12 12:09 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberFlorin Jurcovici22-Nov-12 1:13 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberSomeGuyThatIsMe21-Nov-12 2:17 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberKP Lee22-Nov-12 18:23 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberSomeGuyThatIsMe26-Nov-12 2:34 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberAdriaan Davel21-Nov-12 20:36 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmemberthrakazog22-Nov-12 3:25 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmemberdazfuller21-Nov-12 20:58 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberHarry Neethling21-Nov-12 23:23 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmembermmelvis22-Nov-12 3:45 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmemberthrakazog22-Nov-12 18:04 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmemberexmsde22-Nov-12 11:13 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pinmemberthomas.michaud26-Nov-12 4:08 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. PinmemberNitin Sawant4-Dec-12 1:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 1 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid