Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Which PRAGMA to use? "Func. does not guarantee not to update db"
In article <32DF8DCB.46D2_at_telecom.pt>, gilberto.j.inacio_at_telecom.pt wrote:
>Simon Taylor wrote:
Check out the "Using Procedures and Packages" chapter of the Application Developer's Guide.
CREATE PACKAGE my_stuff AS -- package spec
...
FUNCTION my_f_1 RETURNS NUMBER;
PRAGMA RESTRICT_REFERENCES (my_f_1, WNDS, WNPS, RNDS, RNPS); END my_stuff;
CREATE PACAKGE BODY my_stuff AS -- package body
FUNCTION my_f_1 RETURNS NUMBER IS
BEGIN
...
END;
END my_stuff;
Check the index of the above mentioned text for the topic "Restrict_References pragma." The documentation there will explain the meaning of WNDS, WNPS, RNDS and RNPS and when they are appropriate.
-- -- Curtis.Hanson_at_UAlberta.ca (a Motif apprentice) -- Oracle enabling the Department of Physical Plant -- -- -- Curtis.Hanson_at_UAlberta.ca (a Motif apprentice) -- Oracle enabling the Department of Physical Plant --Received on Fri Jan 17 1997 - 00:00:00 CST