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: PL/SQL Function Calls

Re: PL/SQL Function Calls

From: Billy <vslabs_at_onwe.co.za>
Date: 6 Jun 2005 05:51:19 -0700
Message-ID: <1118062279.769559.41020@o13g2000cwo.googlegroups.com>


Chris ( Val ) wrote:

> Well, if "ProcName" is a varchar2 type for example,
> then it only makes sense to use the following call:
>
> exec test( 'Procedure(''Argument'')' );

EXEC command is a SQL*Plus macro command and not a valid SQL or PL/SQL command.

Using literals and not bind variables is a great way to stuff up performance, cause shared pool fragmentation and generally cause havoc in Oracle.

--
Billy
Received on Mon Jun 06 2005 - 07:51:19 CDT

Original text of this message

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