Click here to Skip to main content
15,512,456 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: Weird: Very confusing Base64 problem (includes quiz) Pin
RickZeeland10-Aug-22 23:20
mveRickZeeland10-Aug-22 23:20 
RantGetAssemblyVersion, VB style Pin
Saša Ćetković27-Jun-22 4:03
professionalSaša Ćetković27-Jun-22 4:03 
GeneralRe: GetAssemblyVersion, VB style Pin
Southmountain1-Jul-22 13:55
Southmountain1-Jul-22 13:55 
GeneralRe: GetAssemblyVersion, VB style Pin
Saša Ćetković2-Jul-22 5:07
professionalSaša Ćetković2-Jul-22 5:07 
GeneralRe: GetAssemblyVersion, VB style Pin
Southmountain2-Jul-22 11:47
Southmountain2-Jul-22 11:47 
GeneralRe: GetAssemblyVersion, VB style Pin
dan!sh 20-Jul-22 0:32
professional dan!sh 20-Jul-22 0:32 
GeneralRe: GetAssemblyVersion, VB style Pin
Saša Ćetković21-Jul-22 22:18
professionalSaša Ćetković21-Jul-22 22:18 
GeneralRe: GetAssemblyVersion, VB style Pin
obermd1-Sep-22 5:24
obermd1-Sep-22 5:24 
GeneralRe: GetAssemblyVersion, VB style Pin
englebart1-Sep-22 15:12
professionalenglebart1-Sep-22 15:12 
General"This is a rare event" PinPopular
Marc Clifton7-May-22 9:33
mvaMarc Clifton7-May-22 9:33 
For giggles I programmatically created a query that had a huge number of unions. The full message from SQL Server was:

Quote:
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions.
Laugh | :laugh:

GeneralRe: "This is a rare event" Pin
Slacker00710-May-22 11:04
professionalSlacker00710-May-22 11:04 
GeneralRe: "This is a rare event" Pin
jsc4211-May-22 1:17
professionaljsc4211-May-22 1:17 
GeneralRe: "This is a rare event" Pin
MarkTJohnson11-May-22 4:23
professionalMarkTJohnson11-May-22 4:23 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult14-May-22 15:20
professionalPIEBALDconsult14-May-22 15:20 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult14-May-22 15:24
professionalPIEBALDconsult14-May-22 15:24 
GeneralRe: "This is a rare event" Pin
Marc Clifton15-May-22 8:04
mvaMarc Clifton15-May-22 8:04 
GeneralRe: "This is a rare event" Pin
Jörgen Andersson18-May-22 0:52
professionalJörgen Andersson18-May-22 0:52 
GeneralRe: "This is a rare event" Pin
Craig Robbins27-Jun-22 15:01
Craig Robbins27-Jun-22 15:01 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult27-Jun-22 15:41
professionalPIEBALDconsult27-Jun-22 15:41 
GeneralRe: "This is a rare event" Pin
Duncan Edwards Jones16-May-22 8:05
professionalDuncan Edwards Jones16-May-22 8:05 
GeneralRe: "This is a rare event" Pin
pkfox30-Jun-22 23:36
professionalpkfox30-Jun-22 23:36 
GeneralRe: "This is a rare event" Pin
Member 150787164-Jul-22 18:10
Member 150787164-Jul-22 18:10 
GeneralRe: "This is a rare event" Pin
Ron Anders21-Jul-22 6:56
Ron Anders21-Jul-22 6:56 
GeneralTell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 6:35
Gary R. Wheeler4-May-22 6:35 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 7:42
mveGreg Utas4-May-22 7:42 

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.