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

Home -> Community -> Usenet -> c.d.o.misc -> Re: CREATE PROCEDURE in a package

Re: CREATE PROCEDURE in a package

From: Thomas Kyte <tkyte_at_oracle.com>
Date: 12 Jun 2002 04:35:43 -0700
Message-ID: <ae7bmf02he6@drn.newsguy.com>


In article <3d070d0b.5030433_at_news.btx.dtag.de>, swo-rhi_at_freenet.de says...
>
>Is there a way to create or replace a single procedure in a package
>instead of create or replace the whole package?
>
>Thanks, Rainer

No and since the code is always:

create or replace package body
as

 procedure p1
 is
   ..

 procedure p2
 is
   ....

end;

(eg: a single source code file, not N files for each individual procedure), it would not make sense or make anything more performant. The same amount of work would need be done to compile. (eg: p2 is possibly dependent on p1, recompiling p1 mandates p2 would need be recompiled as well)

--
Thomas Kyte (tkyte@oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Wed Jun 12 2002 - 06:35:43 CDT

Original text of this message

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