Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: any difference in term of performance

Re: any difference in term of performance

From: srivenu <srivenu_at_hotmail.com>
Date: 23 Mar 2004 22:27:18 -0800
Message-ID: <1a68177.0403232227.dfc26bd@posting.google.com>


Daud,
if the statement is going to be static as in your example, it is always better to avoid the Dynamic example and use the second snippet in your example.
The reason is every dynamic SQL statement would result in a parse call.
In your example you are using bind variables and the parse call will most probably result in a soft parse. But still a soft parse results in latching activity and should be avoided as far as possible. As Daniel Morgan has pointed out There are good articles on this in ASKTOM site.
regards
Srivenu Received on Wed Mar 24 2004 - 00:27:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US