Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Help on ORA-06573: Function name modifies package state ?????
Add your function to a package and declare a pragma for it (for the
function): PRAGMA RESTRICT_REFERENCES (my_function,WNDS,WNPS);.
In select you are not allowed to use functions that could change DB
data - you "promis" this in the pragma assignment (WNDS). If you are
interested in details I can send them in next e-mail or look at p.557
book: Oracle PL/SQL Programming pub. by O'REILLY . Hope this is enough.
Jiri
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Nov 18 1999 - 06:41:55 CST