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

Home -> Community -> Usenet -> c.d.o.misc -> performance of dynamic vs. static SQL

performance of dynamic vs. static SQL

From: Michiel Perdeck <perdeck.via_at_sni.de>
Date: 1997/04/15
Message-ID: <335362E2.5EBD@sni.de>#1/1

Currently, our SQL statements are strings (generated by Tcl code) that are "prepared" by the Oracle server before being executed. This is called dynamic SQL, right?

  1. Will the performance of our application improve if we skip one step by having our SQL statements prepared in advance (like the precompile step when using embedded SQL in a compiled host language)? How?
  2. Is this "static" SQL?
  3. Is that the same as PL-SQL?
  4. How do we supply variables to the pre-compiled SQL statements?
  5. Do the precompiled statements reside on the client or on the server?

Regards, Michiel

-- 
Michiel Perdeck

------------------------------------------------------------------------
Siemens Nixdorf: perdeck.via_at_sni.de +31 70 3331530 fax: 3331320 CMG AT Finance : michiel.perdeck_at_cmg.nl +31 20 5033000 fax: 5033011 private : michiel.perdeck_at_tip.nl +31 30 6570818 pager: 0659676940
------------------------------------------------------------------------
Received on Tue Apr 15 1997 - 00:00:00 CDT

Original text of this message

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