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: Referencing Package from another schema

Re: Referencing Package from another schema

From: Ed Prochak <ed.prochak_at_magicinterface.com>
Date: 29 Dec 2004 10:23:06 -0800
Message-ID: <1104344586.183165.265540@c13g2000cwb.googlegroups.com>


And you would do well to observe some good programming practices and use functions to get and set the value of that package variable. It may be GLOBAL to the package, but it should be considered PRIVATE elsewhere.

And the variable name suggests something fishy happening. Why would you want a trigger to change a value called IDENTITY?

Last suggestion befor I go. I use a function available in any package I build. the function name is WHOAMI(). It takes no parameters and returns the release information of the package, which usually includes: name, release/build date, and release number (typically an RCS or similar rev number) The value returned by the WHOAMI function is private to the package and there is not way to change it other than compiling a new release.

have a good day,
ed Received on Wed Dec 29 2004 - 12:23:06 CST

Original text of this message

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