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: Chris ( Val ) <chrisval_at_bigpond.com.au>
Date: 6 Jun 2005 17:12:51 -0700
Message-ID: <1118103171.117619.292440@g49g2000cwa.googlegroups.com>

Billy wrote:
> 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.

Sorry - I thought the OP wanted to know how to execute the procedure from within an SQL*PLUS session.

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

Sure, but that was not my intent - I just think I missunderstood the question.

Thanks for your help.
Chris Val Received on Mon Jun 06 2005 - 19:12:51 CDT

Original text of this message

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