What is pragma restrict_reference in oracle 9i? When do we use it?
Pragma restrict_reference is used to check for violations of any rules applied, at compile time. It’s used in functions to obey some purity check rules to control side effects. This particular pragma asserts that a particular function does not read/write database tables or package variables.
Eg:PRAGMA RESTRICT_REFERENCES function_name RNDS/RNPS/WNDS/WNPS/TRUST