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 Question

Re: PL/SQL Question

From: Jeremy <newspostings_at_hazelweb.co.uk>
Date: Thu, 6 Nov 2003 11:14:19 -0000
Message-ID: <MPG.1a143d6389583356989928@news.individual.net>


In article <bod90c$35s1_at_news.rd.francetelecom.fr>, azerty_at_nospam.org says...
>
> "Jeremy" <newspostings_at_hazelweb.co.uk> a écrit dans le message news:
> MPG.1a142a5d1c2f08be989926_at_news.individual.net...
> >
> > I seem to recall a feature where you could have an in-line procedure
> > declared (i.e. sort of within the procedural code of another procedure).
> > Tell me, am I imagining things?
> >
> >
> > --
> >
> > jeremy
>
> You can declare functions and procedures at the end of the DECLARE section
> of any PL/SQL block (anonymous, proc, functions). Actually I have never
> tried within the PL/SQL part of a trigger but it may be possible (imho, i
> can't see any thing that prevents it)
>
> -- anonymous PLSQL block
> DECLARE
> ...
> PROCEDURE my_proc IS
> BEGIN
> ...
> END;
> BEGIN
> my_proc;
> END;
>

Many thanks this is *exactly* what I was tring to recall!

cheers

-- 

jeremy
Received on Thu Nov 06 2003 - 05:14:19 CST

Original text of this message

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