Click here to Skip to main content
15,886,258 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
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 
"The fact of the matter is you shouldn't be escaping characters yourself."

That is an opinion, held by you. You are perfectly entitled to hold that opinion. However, the one thing it is not is a fact.

ScottM1 wrote:
A parameterized query will use the same execution plan each time even if there are different arguments passed, adhoc statements will recompile each time different arguments are passed.


Is that true? I don't see how it can be. I thought they were compiled each time, since a parameterised query is an ad-hoc query. All you are changing is how the variable parts of the query reach the DBMS.

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 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton20-Oct-10 4:19
Richard A. Dalton20-Oct-10 4:19 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
wout de zeeuw20-Oct-10 10:54
wout de zeeuw20-Oct-10 10:54 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
AspDotNetDev20-Oct-10 11:11
protectorAspDotNetDev20-Oct-10 11:11 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Tomz_KV20-Oct-10 2:06
Tomz_KV20-Oct-10 2:06 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton20-Oct-10 2:43
Richard A. Dalton20-Oct-10 2:43 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 2:46
Electron Shepherd20-Oct-10 2:46 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Tomz_KV20-Oct-10 3:12
Tomz_KV20-Oct-10 3:12 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Electron Shepherd20-Oct-10 3:17
Electron Shepherd20-Oct-10 3:17 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
Richard A. Dalton20-Oct-10 3:26
Richard A. Dalton20-Oct-10 3:26 
GeneralRe: Stored Procs, Packages, Views...Pah! Pin
richard_k26-Oct-10 22:09
richard_k26-Oct-10 22:09 
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 

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.