Click here to Skip to main content
15,888,263 members

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, embarrassing 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: Why would you do this to a stored procedure? It never did anything to you. Pin
KP Lee22-Nov-12 18:23
KP Lee22-Nov-12 18:23 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
SomeGuyThatIsMe26-Nov-12 2:34
SomeGuyThatIsMe26-Nov-12 2:34 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Adriaan Davel21-Nov-12 20:36
Adriaan Davel21-Nov-12 20:36 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
thrakazog22-Nov-12 3:25
thrakazog22-Nov-12 3:25 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
dazfuller21-Nov-12 20:58
dazfuller21-Nov-12 20:58 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Harry Neethling21-Nov-12 23:23
Harry Neethling21-Nov-12 23:23 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
mmelvis22-Nov-12 3:45
mmelvis22-Nov-12 3:45 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
thrakazog22-Nov-12 18:04
thrakazog22-Nov-12 18:04 
I could see it happening that way sometimes. But this code was from an ASP.net app. The comments put the creation date of this piece around 2005.

This may have come about through code rot. Maybe it worked great for something small and the scope and input string kept expanding. In any case... ick. And of course I don't have the time to fix it either. So I'll pass it on to somebody else also.
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. Pin
exmsde22-Nov-12 11:13
exmsde22-Nov-12 11:13 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
thomas.michaud26-Nov-12 4:08
thomas.michaud26-Nov-12 4:08 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Nitin S4-Dec-12 1:22
professionalNitin S4-Dec-12 1:22 
GeneralTypemock Comic Series #1 - How to Keep Your Code Secure Pin
NCSM13-Nov-12 10:02
NCSM13-Nov-12 10:02 
GeneralRe: Typemock Comic Series #1 - How to Keep Your Code Secure PinPopular
0bx14-Nov-12 6:11
0bx14-Nov-12 6:11 
GeneralLoading custom fields from Quickbooks Pin
Jeremy D Lee9-Nov-12 16:01
Jeremy D Lee9-Nov-12 16:01 
JokeRe: Loading custom fields from Quickbooks PinPopular
Bernhard Hiller10-Nov-12 21:53
Bernhard Hiller10-Nov-12 21:53 
GeneralRe: Loading custom fields from Quickbooks Pin
Jeremy D Lee11-Nov-12 2:14
Jeremy D Lee11-Nov-12 2:14 
GeneralRe: Loading custom fields from Quickbooks PinPopular
Bernhard Hiller11-Nov-12 21:33
Bernhard Hiller11-Nov-12 21:33 
GeneralRe: Loading custom fields from Quickbooks Pin
Brisingr Aerowing11-Nov-12 5:34
professionalBrisingr Aerowing11-Nov-12 5:34 
GeneralRe: Loading custom fields from Quickbooks Pin
BobJanova12-Nov-12 22:15
BobJanova12-Nov-12 22:15 
GeneralRe: Loading custom fields from Quickbooks Pin
Clodetta del Mar15-Nov-12 1:37
Clodetta del Mar15-Nov-12 1:37 
GeneralHow to conver Date to yyyyMMdd format in SSRS PinPopular
virang_218-Nov-12 14:41
virang_218-Nov-12 14:41 
GeneralRe: How to conver Date to yyyyMMdd format in SSRS Pin
csharpbd8-Nov-12 21:40
professionalcsharpbd8-Nov-12 21:40 
GeneralRe: How to conver Date to yyyyMMdd format in SSRS Pin
Bernhard Hiller9-Nov-12 1:20
Bernhard Hiller9-Nov-12 1:20 
GeneralRe: How to conver Date to yyyyMMdd format in SSRS Pin
virang_2110-Nov-12 10:51
virang_2110-Nov-12 10:51 
GeneralRe: How to conver Date to yyyyMMdd format in SSRS Pin
Bernhard Hiller10-Nov-12 21:45
Bernhard Hiller10-Nov-12 21:45 

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

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