Click here to Skip to main content
15,899,475 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Stored proedures and speed Pin
Hesham Amin17-Oct-07 1:00
Hesham Amin17-Oct-07 1:00 
AnswerRe: Stored proedures and speed Pin
N a v a n e e t h17-Oct-07 1:18
N a v a n e e t h17-Oct-07 1:18 
AnswerRe: Stored proedures and speed Pin
Christian Graus17-Oct-07 1:31
protectorChristian Graus17-Oct-07 1:31 
GeneralRe: Stored proedures and speed Pin
N a v a n e e t h17-Oct-07 1:35
N a v a n e e t h17-Oct-07 1:35 
GeneralRe: Stored proedures and speed Pin
Christian Graus17-Oct-07 1:43
protectorChristian Graus17-Oct-07 1:43 
GeneralRe: Stored proedures and speed Pin
N a v a n e e t h17-Oct-07 2:00
N a v a n e e t h17-Oct-07 2:00 
AnswerRe: Stored proedures and speed Pin
Guffa17-Oct-07 8:42
Guffa17-Oct-07 8:42 
AnswerRe: Stored proedures and speed Pin
Guffa17-Oct-07 8:22
Guffa17-Oct-07 8:22 
Chona1171 wrote:
problem is that people have mixed opininions and contriditory optinions about using stored procedures.


Of course they have. People have contradicting opinions about everything from application architecture to placing of brackets. Stored procedures is not an exception.

Chona1171 wrote:
when you go to http://weblogs.asp.net/fbouma/archive/2003/11/18/38178.aspx you ind that stored procedures shouldnt be used


There are a lot of arguments there why stored procedures aren't better than dynamic queries, but that does neither make dynamic queries better nor stored procedure bad.

They are simply different approaches, so they have different strengths and weaknesses.

I prefer stored procedures, because:

:: The queries gets separated from the code. Things that has different purposes often benefit from being separated.

:: There is a well defined interface between the stored procedure and the code that is using it.

:: The execution plan of a stored procedure is always the same, so you know that they cache well. The execution plan of a dynamic query can change in ways that is hard to predict. It's easy to try out a stored procedure to see the execution plan, but not as easy to try out every possible dynamic query that the code can create.

---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams

QuestionHow do i create dynamic menus in Visual Web Developer Pin
mitchel31616-Oct-07 22:17
mitchel31616-Oct-07 22:17 
AnswerRe: How do i create dynamic menus in Visual Web Developer Pin
Christian Graus17-Oct-07 1:33
protectorChristian Graus17-Oct-07 1:33 
GeneralRe: How do i create dynamic menus in Visual Web Developer Pin
mitchel31617-Oct-07 2:43
mitchel31617-Oct-07 2:43 
GeneralRe: How do i create dynamic menus in Visual Web Developer Pin
Christian Graus17-Oct-07 9:52
protectorChristian Graus17-Oct-07 9:52 
Questionrecord sound on client and transfer to server Pin
Roland Bär16-Oct-07 22:02
Roland Bär16-Oct-07 22:02 
AnswerRe: record sound on client and transfer to server Pin
Christian Graus17-Oct-07 1:38
protectorChristian Graus17-Oct-07 1:38 
QuestionBandwidth speed text component/script? Pin
PSU Steve16-Oct-07 5:24
professionalPSU Steve16-Oct-07 5:24 
AnswerRe: Bandwidth speed text component/script? Pin
Paul Conrad25-Nov-07 9:46
professionalPaul Conrad25-Nov-07 9:46 
QuestionAdding a JS function to a dynamically created table cell in C# [modified] Pin
But_Im_a_Lady16-Oct-07 4:33
But_Im_a_Lady16-Oct-07 4:33 
AnswerRe: Adding a JS function to a dynamically created table cell in C# Pin
pmarfleet16-Oct-07 11:58
pmarfleet16-Oct-07 11:58 
QuestionFrom UTF-8" to "ISO-8859-1 Pin
hifiger200416-Oct-07 1:29
hifiger200416-Oct-07 1:29 
AnswerRe: From UTF-8" to "ISO-8859-1 [modified] Pin
kubben16-Oct-07 3:42
kubben16-Oct-07 3:42 
GeneralRe: From UTF-8" to "ISO-8859-1 Pin
hifiger200416-Oct-07 5:20
hifiger200416-Oct-07 5:20 
GeneralRe: From UTF-8" to "ISO-8859-1 Pin
kubben16-Oct-07 5:38
kubben16-Oct-07 5:38 
AnswerRe: From UTF-8" to "ISO-8859-1 Pin
hifiger200416-Oct-07 5:50
hifiger200416-Oct-07 5:50 
GeneralRe: From UTF-8" to "ISO-8859-1 Pin
kubben16-Oct-07 5:53
kubben16-Oct-07 5:53 
QuestionSession variable expires Pin
hifiger200415-Oct-07 23:24
hifiger200415-Oct-07 23: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.