Click here to Skip to main content
15,887,746 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: Stored Procs, Packages, Views...Pah! Pin
JasonPSage20-Oct-10 3:31
JasonPSage20-Oct-10 3:31 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton20-Oct-10 4:24
Richard A. Dalton20-Oct-10 4:24 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
richard_k26-Oct-10 22:11
richard_k26-Oct-10 22:11 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
YSLGuru20-Oct-10 10:20
YSLGuru20-Oct-10 10:20 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton20-Oct-10 23:32
Richard A. Dalton20-Oct-10 23:32 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
wout de zeeuw20-Oct-10 11:42
wout de zeeuw20-Oct-10 11:42 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton20-Oct-10 23:42
Richard A. Dalton20-Oct-10 23:42 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
wout de zeeuw21-Oct-10 0:45
wout de zeeuw21-Oct-10 0:45 
Mwhoa, this whole thread is getting quite one sided because on CodeProject you are only getting the point of view of programmers and not of DBA's. So all the programmers are going to be naturally be inclined to think SQL and sprocs are inferior. You should post the same message on www.sqlservercentral.com[^] and see what responses you're getting there.

If a "good" programmer, writes bad SQL, then he's a bad SQL programmer, and he shouldn't be writing any. Either you let someone write SQL that has the skills, or you don't and you get sh*tty SQL.

About the dependencies that Trajan McGill is talking about: even in SSMS for SQL Server Express you can just right click a sproc and "View Dependencies". You can also debug SQL, step into sprocs etc. So his argument that you can't touch anything because you can't see the dependencies is incorrect. Furthermore also in .NET you often have dependencies outside the scope of your VS solution, which are also invisible, so in that department I see little difference between SQL/.NET.
Wout

GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton21-Oct-10 1:21
Richard A. Dalton21-Oct-10 1:21 
GeneralEmbrace the dark side - use an ORM Pin
Dale Margel20-Oct-10 15:31
professionalDale Margel20-Oct-10 15:31 
GeneralRe: Embrace the dark side - use an ORM Pin
AspDotNetDev20-Oct-10 15:45
protectorAspDotNetDev20-Oct-10 15:45 
GeneralRe: Embrace the dark side - use an ORM Pin
Dale Margel20-Oct-10 16:00
professionalDale Margel20-Oct-10 16:00 
GeneralRe: Embrace the dark side - use an ORM Pin
AspDotNetDev20-Oct-10 16:55
protectorAspDotNetDev20-Oct-10 16:55 
GeneralRe: Embrace the dark side - use an ORM Pin
fjdiewornncalwe21-Oct-10 3:34
professionalfjdiewornncalwe21-Oct-10 3:34 
GeneralRe: Embrace the dark side - use an ORM Pin
Richard A. Dalton20-Oct-10 23:28
Richard A. Dalton20-Oct-10 23:28 
GeneralRe: Embrace the dark side - use an ORM Pin
AspDotNetDev21-Oct-10 7:14
protectorAspDotNetDev21-Oct-10 7:14 
GeneralRe: Embrace the dark side - use an ORM Pin
Stryder_121-Oct-10 3:26
Stryder_121-Oct-10 3:26 
GeneralRe: Embrace the dark side - use an ORM Pin
AspDotNetDev21-Oct-10 7:16
protectorAspDotNetDev21-Oct-10 7:16 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ohmyletmein21-Oct-10 12:47
ohmyletmein21-Oct-10 12:47 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton21-Oct-10 23:28
Richard A. Dalton21-Oct-10 23:28 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
fjdiewornncalwe22-Oct-10 2:25
professionalfjdiewornncalwe22-Oct-10 2:25 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Schmuli23-Oct-10 22:19
Schmuli23-Oct-10 22:19 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
richard_k26-Oct-10 21:48
richard_k26-Oct-10 21:48 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
marc_k18-Nov-10 0:22
marc_k18-Nov-10 0:22 
GeneralReturn of an old friend Pin
Rob Grainger19-Oct-10 0:02
Rob Grainger19-Oct-10 0:02 

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.