Click here to Skip to main content
15,510,678 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.

 
GeneralRelational database reinvented as a flat file... Pin
johnsyd19-Jun-13 20:58
johnsyd19-Jun-13 20:58 
GeneralRe: Relational database reinvented as a flat file... Pin
AlexCode19-Jun-13 21:25
professionalAlexCode19-Jun-13 21:25 
GeneralRe: Relational database reinvented as a flat file... Pin
johnsyd19-Jun-13 22:22
johnsyd19-Jun-13 22:22 
GeneralRe: Relational database reinvented as a flat file... Pin
NormDroid19-Jun-13 21:43
professionalNormDroid19-Jun-13 21:43 
GeneralRe: Relational database reinvented as a flat file... Pin
AlexCode19-Jun-13 22:26
professionalAlexCode19-Jun-13 22:26 
GeneralRe: Relational database reinvented as a flat file... Pin
Richard Deeming20-Jun-13 2:32
mveRichard Deeming20-Jun-13 2:32 
GeneralRe: Relational database reinvented as a flat file... Pin
jim lahey20-Jun-13 2:57
jim lahey20-Jun-13 2:57 
GeneralWhy stick to just one database? Pin
johnsyd19-Jun-13 18:52
johnsyd19-Jun-13 18:52 
I work for a large company which has an odd habit of splitting off logically related tables into separate databases. So instead of one database ABC, you have databases ABC_CLIENT, ABC_PORTFOLIO, ABC_PRICING, etc. To join client data to their own portfolio data, you need to go cross database and to include pricing data means yet another cross database connection.

A friend who works for another large company in the same industry says that his company thinks this is "best practice". No one I've talked to thinks this is a good idea, let alone "best practice". What do you think?
GeneralRe: Why stick to just one database? Pin
krumia19-Jun-13 18:55
krumia19-Jun-13 18:55 
GeneralRe: Why stick to just one database? Pin
johnsyd19-Jun-13 19:07
johnsyd19-Jun-13 19:07 
GeneralRe: Why stick to just one database? Pin
PIEBALDconsult19-Jun-13 19:37
professionalPIEBALDconsult19-Jun-13 19:37 
GeneralRe: Why stick to just one database? Pin
vonb19-Jun-13 20:25
vonb19-Jun-13 20:25 
GeneralRe: Why stick to just one database? Pin
AlexCode19-Jun-13 21:23
professionalAlexCode19-Jun-13 21:23 
GeneralRe: Why stick to just one database? Pin
Adriaan Davel19-Jun-13 22:55
Adriaan Davel19-Jun-13 22:55 
AnswerRe: Why stick to just one database? Pin
Gaston Verelst19-Jun-13 21:28
Gaston Verelst19-Jun-13 21:28 
GeneralRe: Why stick to just one database? Pin
cjb11019-Jun-13 22:15
cjb11019-Jun-13 22:15 
GeneralRe: Why stick to just one database? Pin
johnsyd25-Jun-13 16:01
johnsyd25-Jun-13 16:01 
GeneralRe: Why stick to just one database? Pin
Adriaan Davel19-Jun-13 22:59
Adriaan Davel19-Jun-13 22:59 
GeneralRe: Why stick to just one database? Pin
Richard Deeming20-Jun-13 2:30
mveRichard Deeming20-Jun-13 2:30 
GeneralRe: Why stick to just one database? Pin
jim lahey20-Jun-13 3:04
jim lahey20-Jun-13 3:04 
GeneralRe: Why stick to just one database? Pin
NeverJustHere20-Jun-13 20:29
NeverJustHere20-Jun-13 20:29 
GeneralRe: Why stick to just one database? Pin
johnsyd25-Jun-13 16:15
johnsyd25-Jun-13 16:15 
GeneralRe: Why stick to just one database? Pin
johnsyd25-Jun-13 16:10
johnsyd25-Jun-13 16:10 
GeneralHow To Use Session Variables Pin
AnalogNerd18-Jun-13 4:43
AnalogNerd18-Jun-13 4:43 
GeneralRe: How To Use Session Variables Pin
OriginalGriff18-Jun-13 6:04
mveOriginalGriff18-Jun-13 6:04 

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.