Click here to Skip to main content
15,915,328 members
Home / Discussions / Database
   

Database

 
GeneralRe: execution speed... Pin
l a u r e n14-Jan-02 9:17
l a u r e n14-Jan-02 9:17 
GeneralRe: execution speed... Pin
Carlos Antollini14-Jan-02 9:49
Carlos Antollini14-Jan-02 9:49 
GeneralRe: execution speed... Pin
l a u r e n14-Jan-02 20:19
l a u r e n14-Jan-02 20:19 
GeneralRe: execution speed... Pin
Carlos Antollini15-Jan-02 2:41
Carlos Antollini15-Jan-02 2:41 
GeneralRe: execution speed... Pin
AndyG14-Jan-02 15:38
AndyG14-Jan-02 15:38 
GeneralRe: execution speed... Pin
l a u r e n14-Jan-02 20:21
l a u r e n14-Jan-02 20:21 
GeneralRe: execution speed... Pin
Nick Parker16-Jan-02 3:42
protectorNick Parker16-Jan-02 3:42 
GeneralRe: execution speed... Pin
James T. Johnson22-Jan-02 21:27
James T. Johnson22-Jan-02 21:27 
<nitpick>
Actually stored procs are compiled. The database (in this case SQL Server 7) will create an optimised execution plan the first time the proc is run. This plan is then stored for later use (eliminating the need to recreate the plan again and again if it were a standard SQL statement).

There is one gotcha to this though; the proc is optimized for the way it is run the first time, if you have some conditionals inside the proc the optimization could be different depending on the branch that gets executed.
</nitpick>

If you use the Query Analyzer (provided in the client tools) you can view the execution plan for a given query. Without a copy in front of me I can't tell you how to view it though, I remember something about the view that allowed you to switch from grid to report though.

Smile | :)

James

Sonork ID: 100.11138 - Hasaki
"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. Big Grin | :-D " - Michael P Butler Jan. 18, 2002
GeneralADO: Delete record fails for dBASE file Pin
10-Jan-02 2:46
suss10-Jan-02 2:46 
GeneralCRecordset::Edit() Pin
3-Jan-02 4:07
suss3-Jan-02 4:07 
GeneralRe: CRecordset::Edit() Pin
Rashid Thadha5-Jan-02 12:30
Rashid Thadha5-Jan-02 12:30 
General10$ Reward - Honestly Pin
Las B29-Dec-01 12:31
Las B29-Dec-01 12:31 
GeneralRe: 10$ Reward - Honestly Pin
AndyG30-Dec-01 10:10
AndyG30-Dec-01 10:10 
QuestionData Access Pages for SQL Server? Pin
23-Dec-01 19:02
suss23-Dec-01 19:02 
GeneralA problem about converting data in ADODB.Recordset object(supplied by COM DLL) into DataStore in PowerBuilder environment. Pin
22-Dec-01 21:02
suss22-Dec-01 21:02 
Generalsql query problem Pin
16-Dec-01 15:27
suss16-Dec-01 15:27 
GeneralRe: sql query problem Pin
AndyG30-Dec-01 10:45
AndyG30-Dec-01 10:45 
General[ADO] leaking memory when opening/closing connection every minute Pin
the_saw_is_the_law13-Dec-01 3:13
the_saw_is_the_law13-Dec-01 3:13 
GeneralRe: [ADO] leaking memory when opening/closing connection every minute Pin
Mike Osbahr13-Dec-01 10:08
Mike Osbahr13-Dec-01 10:08 
GeneralRe: [ADO] leaking memory when opening/closing connection every minute Pin
the_saw_is_the_law15-Dec-01 7:40
the_saw_is_the_law15-Dec-01 7:40 
GeneralRe: [ADO] leaking memory when opening/closing connection every minute Pin
chris foote17-Dec-01 15:02
chris foote17-Dec-01 15:02 
QuestionADO with Jetengine very slow? Pin
zack12-Dec-01 4:29
zack12-Dec-01 4:29 
AnswerRe: ADO with Jetengine very slow? Pin
Thomas Ascher8-Jan-02 1:00
Thomas Ascher8-Jan-02 1:00 
GeneralSQL Server connection sharing Pin
Nick Blumhardt11-Dec-01 15:33
Nick Blumhardt11-Dec-01 15:33 
GeneralRe: SQL Server connection sharing Pin
Rashid Thadha12-Dec-01 3:04
Rashid Thadha12-Dec-01 3:04 

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.