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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: bind variables & dbms_sql in procedure/packages

RE: bind variables & dbms_sql in procedure/packages

From: Bobak, Mark <Mark.Bobak_at_il.proquest.com>
Date: Tue, 30 Mar 2004 08:42:38 -0500
Message-ID: <4C9B6FDA0B06FE4DAF5918BBF0AD82CFECFC68@bosmail00.bos.il.pqe>


For optimal scalability, you really need to use DBMS_SQL. Execute immediate, even if properly implemented w/ binds, will do extra soft parsing.

Only w/ DBMS_SQL can you get the optimal parse once, execute many behavior.

-Mark

-----Original Message-----

From:	Juan Cachito Reyes Pacheco [mailto:jreyes_at_dazasoftware.com]
Sent:	Tue 3/30/2004 7:50 AM
To:	oracle-l_at_freelists.org
Cc:	
Subject:	Re: bind variables & dbms_sql in procedure/packages
Whenever is possible I prefer to use
execute immediate, it allows binding, and is easier to use and to check.

Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Tue Mar 30 2004 - 07:39:44 CST

Original text of this message

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