Click here to Skip to main content
15,917,455 members
Home / Discussions / Database
   

Database

 
GeneralRe: How can I optimize this SQL Query? Pin
Wendelius4-Dec-08 21:58
mentorWendelius4-Dec-08 21:58 
Rafferty Uy wrote:
Are you saying that the single statement can contain bottlenecks compared to cursors


Not at all.

What I'm saying is that these two techniques are (totally) different and statement based is the better approach. But when you create a statement (complex or not) you should always verify the performance part.

I've seen many situations where a cursor based procedure is converted to a statement but the result has been performing worse. The simple reason has been that the optimization and execution verification has been forgotten or ignored. So the basic idea is that always verify the results.

Mika

The need to optimize rises from a bad design.My articles[^]

AnswerRe: How can I optimize this SQL Query? Pin
Ben Fair5-Dec-08 4:09
Ben Fair5-Dec-08 4:09 
GeneralRe: How can I optimize this SQL Query? Pin
Rafferty Uy8-Dec-08 17:18
Rafferty Uy8-Dec-08 17:18 
QuestionHow to access *.dbf file using c# Pin
Kumaran Jeyasingam4-Dec-08 14:32
Kumaran Jeyasingam4-Dec-08 14:32 
AnswerRe: How to access *.dbf file using c# Pin
PIEBALDconsult4-Dec-08 15:33
mvePIEBALDconsult4-Dec-08 15:33 
AnswerRe: How to access *.dbf file using c# Pin
Mycroft Holmes4-Dec-08 21:45
professionalMycroft Holmes4-Dec-08 21:45 
GeneralRe: How to access *.dbf file using c# Pin
Wendelius5-Dec-08 8:24
mentorWendelius5-Dec-08 8:24 
GeneralRe: How to access *.dbf file using c# Pin
Mycroft Holmes5-Dec-08 14:07
professionalMycroft Holmes5-Dec-08 14:07 
GeneralRe: How to access *.dbf file using c# Pin
Kumaran Jeyasingam14-Dec-08 14:58
Kumaran Jeyasingam14-Dec-08 14:58 
QuestionProgram Design - Master DataSet/Adapter for program? Pin
David Hovey4-Dec-08 8:53
David Hovey4-Dec-08 8:53 
AnswerRe: Program Design - Master DataSet/Adapter for program? Pin
Wendelius4-Dec-08 9:25
mentorWendelius4-Dec-08 9:25 
GeneralRe: Program Design - Master DataSet/Adapter for program? Pin
David Hovey4-Dec-08 10:56
David Hovey4-Dec-08 10:56 
GeneralRe: Program Design - Master DataSet/Adapter for program? Pin
Wendelius5-Dec-08 7:50
mentorWendelius5-Dec-08 7:50 
QuestionDatabase Problem Pin
sajjadlashari3-Dec-08 22:50
sajjadlashari3-Dec-08 22:50 
AnswerRe: Database Problem Pin
J4amieC3-Dec-08 23:08
J4amieC3-Dec-08 23:08 
AnswerRe: Database Problem Pin
Wendelius4-Dec-08 7:40
mentorWendelius4-Dec-08 7:40 
QuestionNot able to see the Access database structure behind the form Pin
Brendan Vogt3-Dec-08 22:37
Brendan Vogt3-Dec-08 22:37 
AnswerRe: Not able to see the Access database structure behind the form Pin
ChandraRam4-Dec-08 1:59
ChandraRam4-Dec-08 1:59 
AnswerRe: Not able to see the Access database structure behind the form Pin
Jerry Hammond4-Dec-08 6:36
Jerry Hammond4-Dec-08 6:36 
Questionproblem creating database role... Pin
rajkumar.33-Dec-08 22:33
rajkumar.33-Dec-08 22:33 
AnswerRe: problem creating database role... Pin
Wendelius4-Dec-08 3:54
mentorWendelius4-Dec-08 3:54 
QuestionTime out only the first time Pin
samerh3-Dec-08 21:02
samerh3-Dec-08 21:02 
AnswerRe: Time out only the first time Pin
Wendelius4-Dec-08 4:03
mentorWendelius4-Dec-08 4:03 
QuestionNeed to execute a query when postgres service starts Pin
krishnan.s3-Dec-08 20:45
krishnan.s3-Dec-08 20:45 
AnswerRe: Need to execute a query when postgres service starts Pin
Wendelius4-Dec-08 7:06
mentorWendelius4-Dec-08 7:06 

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.