Click here to Skip to main content
15,889,335 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
Electron Shepherd19-Oct-10 23:36
Electron Shepherd19-Oct-10 23:36 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
OriginalGriff20-Oct-10 0:10
mveOriginalGriff20-Oct-10 0:10 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 0:20
Electron Shepherd20-Oct-10 0:20 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
OriginalGriff20-Oct-10 0:25
mveOriginalGriff20-Oct-10 0:25 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 1:58
Electron Shepherd20-Oct-10 1:58 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 2:41
ScottM120-Oct-10 2:41 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 2:42
Electron Shepherd20-Oct-10 2:42 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 3:03
ScottM120-Oct-10 3:03 
You could use table value parameters to pass multiple values in one parameter, I don't use stored procedures for most projects though.
Unless I am going to be performing the same query from 2 different applications or the query is extremely complex I always use paramaterized queries.
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Andrew Rissing20-Oct-10 2:54
Andrew Rissing20-Oct-10 2:54 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 2:55
Electron Shepherd20-Oct-10 2:55 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 3:09
ScottM120-Oct-10 3:09 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 3:10
Electron Shepherd20-Oct-10 3:10 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 3:20
ScottM120-Oct-10 3:20 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 3:22
Electron Shepherd20-Oct-10 3:22 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 3:40
ScottM120-Oct-10 3:40 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 3:46
Electron Shepherd20-Oct-10 3:46 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 4:10
ScottM120-Oct-10 4:10 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 4:15
Electron Shepherd20-Oct-10 4:15 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 4:30
ScottM120-Oct-10 4:30 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 4:46
Electron Shepherd20-Oct-10 4:46 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 4:59
ScottM120-Oct-10 4:59 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 5:08
Electron Shepherd20-Oct-10 5:08 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 5:23
ScottM120-Oct-10 5:23 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 5:37
Electron Shepherd20-Oct-10 5:37 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
ScottM120-Oct-10 21:08
ScottM120-Oct-10 21: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.