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: Statements parsing from stored procedures

Re: Statements parsing from stored procedures

From: Shailesh <shailesh.saraff_at_gmail.com>
Date: 20 Apr 2006 00:22:06 -0700
Message-ID: <1145517726.936354.305880@g10g2000cwb.googlegroups.com>


Thanks all for replying to this post. We are taking new path to handle this issue...

The only way to avoid a soft parse is to re-use a statement handle. This can only be done inside the same process (statement handles cannot be shared across processes or across connection handles).

Sample pseudo code:
==
- dbHandle = open DB connection

In the loop the same SQL statement handle is re-used. The statement has already been parsed (hard or soft). It is not parsed again in the loop. Which is great. Received on Thu Apr 20 2006 - 02:22:06 CDT

Original text of this message

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