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

 
GeneralI came across this one too Pin
r_maiya29-Aug-07 10:30
r_maiya29-Aug-07 10:30 
GeneralRe: I came across this one too Pin
PIEBALDconsult29-Aug-07 10:48
mvePIEBALDconsult29-Aug-07 10:48 
GeneralExcel Pin
gantww28-Aug-07 9:52
gantww28-Aug-07 9:52 
GeneralRe: Excel Pin
PIEBALDconsult28-Aug-07 10:05
mvePIEBALDconsult28-Aug-07 10:05 
AnswerRe: Excel Pin
chrishuff28-Aug-07 10:28
chrishuff28-Aug-07 10:28 
GeneralInfrastructure... just because. Pin
Rob Achmann24-Aug-07 5:47
Rob Achmann24-Aug-07 5:47 
GeneralRe: Infrastructure... just because. Pin
Lutosław25-Aug-07 8:29
Lutosław25-Aug-07 8:29 
GeneralRe: Infrastructure... just because. Pin
Burnsys228-Aug-07 2:26
Burnsys228-Aug-07 2:26 
Wow! talking about doing unnecessary extra work!
We have to build a software with an sql Database that will have to check for Orders in our ERP DB (Oracle) So, what was my boss idea?
He made us create a trigger that each time an order was created or modified a record with it's primary key was added in a table, Then we had an oracle process that run each 10' that looked at that table, recollected all the order information and saved it to another table in oracle, hen he made us install Oracle Gateway so we can access the sql server from oracle, So when there was New orders in the processed table oracle would connect to Sql Server and add a record to a Sql Tabla that said there was new data,Then we had another process in sql server that checked this table every 1' if the table said there was new data then another process was run that read the now processed tables with the order informations in oracle and extracted the data, once it extracted the data the process checked for modification o inserts against the Final Sql Server Orders Table! So after all that we Could access the sql server table from the Software and just list the content of the table..
When i told my boss why don't we just Access the orders table in Oracle from the software he told me: Noooo, if they change their TnsNames.ora file it would stop working!!! WTF | :WTF:

GeneralWow Pin
eggsovereasy23-Aug-07 4:36
eggsovereasy23-Aug-07 4:36 
GeneralRe: Wow Pin
DavidNohejl23-Aug-07 4:57
DavidNohejl23-Aug-07 4:57 
GeneralRe: Wow Pin
eggsovereasy23-Aug-07 8:12
eggsovereasy23-Aug-07 8:12 
GeneralRe: Wow Pin
J a a n s23-Aug-07 21:25
professionalJ a a n s23-Aug-07 21:25 
GeneralRe: Wow Pin
eggsovereasy24-Aug-07 9:15
eggsovereasy24-Aug-07 9:15 
GeneralRe: Wow Pin
Lutosław25-Aug-07 8:34
Lutosław25-Aug-07 8:34 
GeneralMy boss! [modified] Pin
Burnsys218-Aug-07 14:56
Burnsys218-Aug-07 14:56 
GeneralRe: My boss! Pin
BadKarma18-Aug-07 21:27
BadKarma18-Aug-07 21:27 
GeneralRe: My boss! Pin
Pascal Ganaye20-Aug-07 3:17
Pascal Ganaye20-Aug-07 3:17 
GeneralRe: My boss! Pin
KarstenK20-Aug-07 1:21
mveKarstenK20-Aug-07 1:21 
JokeRe: My boss! Pin
martin_hughes20-Aug-07 5:29
martin_hughes20-Aug-07 5:29 
GeneralRe: My boss! Pin
StevenWalsh20-Aug-07 5:45
StevenWalsh20-Aug-07 5:45 
GeneralRe: My boss! Pin
Burnsys220-Aug-07 7:30
Burnsys220-Aug-07 7:30 
GeneralRe: My boss! Pin
Vasudevan Deepak Kumar23-Aug-07 19:59
Vasudevan Deepak Kumar23-Aug-07 19:59 
GeneralRe: My boss! Pin
Burnsys220-Aug-07 7:32
Burnsys220-Aug-07 7:32 
GeneralRe: My boss! Pin
pbraun21-Aug-07 5:29
pbraun21-Aug-07 5:29 
GeneralRe: My boss! Pin
thany.nl22-Aug-07 4:08
thany.nl22-Aug-07 4:08 

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.