Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: Precompiled...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 3720 of 3876
Post > Topic >>

Re: Precompiled statement?

by "joeNOSPAM@[EMAIL PROTECTED] " <joe.weinstein@[EMAIL PROTECTED] > Apr 22, 2008 at 12:26 PM

On Apr 22, 9:13 am, Taras_96 <taras...@[EMAIL PROTECTED]
> wrote:
> Hi all,
>
> I've read a bit about precompiled SQL statements. However, I haven't
> been able to find anything which explains what the compilation process
> entails. What exactly is done in order to change a normal inline SQL
> statement into a precompiled one?
>
> Thanks
>
> Taras

The major benefit possible by re-using Prepared/CallableStatements
is that when you create them, you supply the SQL, which can be
sent to the DBMS for parsing and compilation. The resultant query
plan is retained by the DBMS, and re-used as long as the statement
remains open. The saving is that a plain statement would have to
as the DBMS to parse and compile it's SQL for every execution.

Joe Weinstein at BEA Systems
 




 10 Posts in Topic:
Precompiled statement?
Taras_96 <taras.di@[EM  2008-04-22 09:13:57 
Re: Precompiled statement?
Donkey Hot <spam@[EMAI  2008-04-22 18:19:51 
Re: Precompiled statement?
"joeNOSPAM@[EMAIL PR  2008-04-22 12:26:07 
Re: Precompiled statement?
David Harper <devnull@  2008-04-22 20:35:39 
Re: Precompiled statement?
Lew <lew@[EMAIL PROTEC  2008-04-22 21:40:31 
Re: Precompiled statement?
Martin Gregorie <marti  2008-04-22 22:16:24 
Re: Precompiled statement?
Taras_96 <taras.di@[EM  2008-04-22 23:46:26 
Re: Precompiled statement?
"joeNOSPAM@[EMAIL PR  2008-04-23 07:33:08 
Re: Precompiled statement?
=?ISO-8859-1?Q?Arne_Vajh=  2008-04-23 21:58:18 
Re: Precompiled statement?
Taras_96 <taras.di@[EM  2008-04-23 07:58:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 23:24:46 CST 2008.