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: "Execute Immediate" problem

Re: "Execute Immediate" problem

From: andrewst <member14183_at_dbforums.com>
Date: Mon, 07 Apr 2003 11:58:42 +0000
Message-ID: <2737409.1049716722@dbforums.com>

Originally posted by Jeremy
> In article , stephan.bressler_at_siemens.com
> says...
> > > execute immediate
> > > 'begin
> > > zp(p_web_site_id => :l_web_site_id, p_url => :l_url);
> > > end;'
> > > using l_web_site_id, l_url;
> > > end;
> > Hi
> > just a guess (if your variables are input only):
> > zp(p_web_site_id => ' || l_web_site_id || ', p_url => '|| l_url
> ||');
> >
> > Stephan
> >
> >
> >
>
>
> Thanks Stephan, but the l_url variable is an IN OUT which is what I am
> having trouble with.
>
> --
>
> jeremy

The default mode for USING clause in "IN", so you must specify "IN OUT":

execute immediate
'begin
zp(p_web_site_id => :l_web_site_id, p_url => :l_url); end;'
using l_web_site_id, IN OUT l_url;

--
Posted via http://dbforums.com
Received on Mon Apr 07 2003 - 06:58:42 CDT

Original text of this message

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