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: To package or not

Re: To package or not

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Thu, 17 May 2001 18:56:09 -0400
Message-ID: <mkl8gtc2skbl9oli9qgfcad6rgvj0c4e8p@4ax.com>

A copy of this was sent to "Jim Poe" <jpoe_at_fulcrumit.com> (if that email address didn't require changing) On 17 May 2001 16:47:28 GMT, you wrote:

>This is general question about using packages. Should all procedures and
>functions be written in packages? Is there any reason not to put them into
>a package?
>
>Thanks

You should always use packages. Procedures are great for tiny exmaples but they stink in a real system.

see
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:286816015990

for the details but basically -- packages break the dependency chain, avoiding tons of cascading invalidations.  

--
Thomas Kyte (tkyte_at_us.oracle.com) Oracle Service Industries
Howtos and such: http://asktom.oracle.com/
Oracle Magazine: http://www.oracle.com/oramag
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Thu May 17 2001 - 17:56:09 CDT

Original text of this message

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