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

 
GeneralRe: VB6: Graphics [modified] Pin
CPallini24-May-07 3:15
mveCPallini24-May-07 3:15 
GeneralRe: VB6: Graphics Pin
maz233123-May-07 10:04
maz233123-May-07 10:04 
GeneralRe: VB6: Graphics Pin
KarstenK24-May-07 21:40
mveKarstenK24-May-07 21:40 
GeneralRe: VB6: Graphics Pin
John R. Shaw25-May-07 15:51
John R. Shaw25-May-07 15:51 
GeneralDataBase Selects and other lovely things :) Pin
Luka Grabarevic18-May-07 3:14
Luka Grabarevic18-May-07 3:14 
GeneralRe: DataBase Selects and other lovely things :) Pin
PIEBALDconsult18-May-07 4:29
mvePIEBALDconsult18-May-07 4:29 
GeneralRe: DataBase Selects and other lovely things :) Pin
Nemanja Trifunovic18-May-07 7:12
Nemanja Trifunovic18-May-07 7:12 
GeneralRe: DataBase Selects and other lovely things :) Pin
Pualee18-May-07 9:30
Pualee18-May-07 9:30 
Nemanja Trifunovic wrote:
Parameterized queries are not only safer, but also easier


I'm not suggesting I agree with the method shown in by the OP, but it is much easier to keep a source history if the queries are in the code rather than stored procedures and also less likely to miss an update when releasing a new version of code.

That said, i use parameterized queriesLaugh | :laugh:

Pualee
GeneralRe: DataBase Selects and other lovely things :) Pin
Andy Brummer18-May-07 10:04
sitebuilderAndy Brummer18-May-07 10:04 
GeneralRe: DataBase Selects and other lovely things :) Pin
Nemanja Trifunovic18-May-07 10:06
Nemanja Trifunovic18-May-07 10:06 
GeneralRe: DataBase Selects and other lovely things :) Pin
Pualee18-May-07 10:27
Pualee18-May-07 10:27 
GeneralRe: DataBase Selects and other lovely things :) Pin
Psycho-*Coder*-Extreme21-May-07 7:17
Psycho-*Coder*-Extreme21-May-07 7:17 
GeneralRe: DataBase Selects and other lovely things :) Pin
maz233123-May-07 10:08
maz233123-May-07 10:08 
Generalwhich one is faster and better coding Pin
Sylvester george18-May-07 1:26
Sylvester george18-May-07 1:26 
GeneralRe: which one is faster and better coding Pin
Maximilien18-May-07 1:48
Maximilien18-May-07 1:48 
GeneralRe: which one is faster and better coding Pin
Pete O'Hanlon18-May-07 1:59
mvePete O'Hanlon18-May-07 1:59 
GeneralRe: which one is faster and better coding Pin
Sylvester george18-May-07 2:06
Sylvester george18-May-07 2:06 
GeneralRe: which one is faster and better coding Pin
Brady Kelly18-May-07 4:00
Brady Kelly18-May-07 4:00 
GeneralRe: which one is faster and better coding Pin
Vasudevan Deepak Kumar23-May-07 2:33
Vasudevan Deepak Kumar23-May-07 2:33 
GeneralRe: which one is faster and better coding Pin
jonavi25-May-07 4:31
jonavi25-May-07 4:31 
GeneralRe: which one is faster and better coding Pin
davidnr30-May-07 3:14
davidnr30-May-07 3:14 
GeneralRe: which one is faster and better coding Pin
ChandraRam18-May-07 2:17
ChandraRam18-May-07 2:17 
GeneralRe: which one is faster and better coding Pin
V.18-May-07 4:13
professionalV.18-May-07 4:13 
GeneralRe: which one is faster and better coding Pin
PIEBALDconsult18-May-07 4:41
mvePIEBALDconsult18-May-07 4:41 
JokeRe: which one is faster and better coding Pin
Nemanja Trifunovic18-May-07 7:16
Nemanja Trifunovic18-May-07 7:16 

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.